pub struct StepClock { /* private fields */ }Expand description
Deterministic test clock: each now() call advances by POLL_TIMEOUT,
modelling one poll interval passing on a real machine.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for StepClock
impl Freeze for StepClock
impl RefUnwindSafe for StepClock
impl Send for StepClock
impl Sync for StepClock
impl Unpin for StepClock
impl UnsafeUnpin for StepClock
impl UnwindSafe for StepClock
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