pub struct Timer {
pub time_reader: Arc<dyn KeepTime + Sync + Send>,
pub hasten_multiplier: u64,
pub start_time: Timestamp,
}
Fields§
§time_reader: Arc<dyn KeepTime + Sync + Send>
§hasten_multiplier: u64
§start_time: Timestamp
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Timer
impl !RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl !UnwindSafe for Timer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more