pub struct TestClock { /* private fields */ }Expand description
Deterministic monotonic clock for tests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TestClock
impl !UnwindSafe for TestClock
impl Freeze for TestClock
impl Send for TestClock
impl Sync for TestClock
impl Unpin for TestClock
impl UnsafeUnpin for TestClock
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