pub struct StdClock(/* private fields */);
Expand description
Clock implementation based on the Rust standard library
Guaranteed to be there on any system supported by the Rust standard library and to be monotonic (never jump back in time), but durations may inflate or shrink during clock calibration events (e.g. NTP synchronization), and there are no guarantee about precision or correct suspend handling.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdClock
impl RefUnwindSafe for StdClock
impl Send for StdClock
impl Sync for StdClock
impl Unpin for StdClock
impl UnwindSafe for StdClock
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