pub struct MonotonicClock { /* private fields */ }Expand description
A clock that reads the wall clock, measured from a fixed epoch.
The epoch is supplied rather than captured so it can be the same instant the owning tree’s simulated clock was seeded from — see the module docs.
Implementations§
Trait Implementations§
Source§impl Clone for MonotonicClock
impl Clone for MonotonicClock
Source§impl Debug for MonotonicClock
impl Debug for MonotonicClock
Source§impl InputClock for MonotonicClock
impl InputClock for MonotonicClock
Auto Trait Implementations§
impl Freeze for MonotonicClock
impl RefUnwindSafe for MonotonicClock
impl Send for MonotonicClock
impl Sync for MonotonicClock
impl Unpin for MonotonicClock
impl UnsafeUnpin for MonotonicClock
impl UnwindSafe for MonotonicClock
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