pub struct HostClock;Expand description
A clock backed by the host wall clock.
Non-deterministic: two runs of the same scenario produce different timestamps. Use only when wall-clock correspondence is explicitly required.
Implementations§
Trait Implementations§
impl Copy for HostClock
Auto Trait Implementations§
impl Freeze for HostClock
impl RefUnwindSafe for HostClock
impl Send for HostClock
impl Sync for HostClock
impl Unpin for HostClock
impl UnsafeUnpin for HostClock
impl UnwindSafe for HostClock
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