pub struct NativeClock;Available on crate feature
native only.Expand description
Real wall clock backed by the system clock.
Trait Implementations§
Source§impl Clock for NativeClock
impl Clock for NativeClock
Auto Trait Implementations§
impl Freeze for NativeClock
impl RefUnwindSafe for NativeClock
impl Send for NativeClock
impl Sync for NativeClock
impl Unpin for NativeClock
impl UnsafeUnpin for NativeClock
impl UnwindSafe for NativeClock
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