pub struct LabClock { /* private fields */ }Expand description
A manually-advanceable clock for deterministic tests.
All Cx instances sharing the same LabClock see the same time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LabClock
impl RefUnwindSafe for LabClock
impl Send for LabClock
impl Sync for LabClock
impl Unpin for LabClock
impl UnsafeUnpin for LabClock
impl UnwindSafe for LabClock
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