pub struct SystemClock { /* private fields */ }Expand description
Wall-clock implementation. Origin is the moment the instance is
constructed; now_ns returns Instant::elapsed against that origin.
Implementations§
Source§impl SystemClock
impl SystemClock
Trait Implementations§
Source§impl Clock for SystemClock
impl Clock for SystemClock
Auto Trait Implementations§
impl Freeze for SystemClock
impl RefUnwindSafe for SystemClock
impl Send for SystemClock
impl Sync for SystemClock
impl Unpin for SystemClock
impl UnsafeUnpin for SystemClock
impl UnwindSafe for SystemClock
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