pub struct SystemClock(/* private fields */);Expand description
Real time: std::time::Instant; jobs run on one timer thread per clock, started with
the first job. The thread ends when the clock is dropped.
What a FakeDevice without a clock of its own delays answers with.
Implementations§
Source§impl SystemClock
impl SystemClock
Trait Implementations§
Auto Trait Implementations§
impl Forget for SystemClock
impl Freeze for SystemClock
impl Move for SystemClock
impl RefUnwindSafe for SystemClock
impl Send for SystemClock
impl Sync for SystemClock
impl Unpin for SystemClock
impl UnsafeUnpin for SystemClock
impl UnwindSafe for SystemClock
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