pub struct Clock { /* private fields */ }Expand description
Monotonic clock that is inert on WebAssembly (where Instant panics):
there the time limit is not enforced and other limits still apply.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Clock
impl Freeze for Clock
impl RefUnwindSafe for Clock
impl Send for Clock
impl Sync for Clock
impl Unpin for Clock
impl UnsafeUnpin for Clock
impl UnwindSafe 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