pub struct ManualClock { /* private fields */ }Expand description
A clock that only moves when a scenario advances it. Timers fire in due order, ties in the order they were scheduled, on the thread that advances the clock.
Implementations§
Trait Implementations§
Source§impl Clock for ManualClock
impl Clock for ManualClock
Source§impl Clone for ManualClock
impl Clone for ManualClock
Auto Trait Implementations§
impl Freeze for ManualClock
impl RefUnwindSafe for ManualClock
impl Send for ManualClock
impl Sync for ManualClock
impl Unpin for ManualClock
impl UnsafeUnpin for ManualClock
impl UnwindSafe for ManualClock
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