pub struct Clock(/* private fields */);Expand description
Where a breaker or a limiter reads the time. Tests hand one they move themselves.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Clock
impl !UnwindSafe for Clock
impl Freeze for Clock
impl Send for Clock
impl Sync for Clock
impl Unpin for Clock
impl UnsafeUnpin for Clock
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