pub(crate) struct TimeSource {
start_time: Instant,
}
Expand description
A structure which handles conversion from Instants to u64
timestamps.
Fields§
§start_time: Instant
Implementations§
source§impl TimeSource
impl TimeSource
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeSource
impl RefUnwindSafe for TimeSource
impl Send for TimeSource
impl Sync for TimeSource
impl Unpin for TimeSource
impl UnwindSafe for TimeSource
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