pub struct StdTimer { /* private fields */ }Available on crate feature
std only.Expand description
The system’s monotonic clock, and sleeping on it.
Timer::now is measured from the first StdTimer created in the process, so the
numbers in a log stay small and comparable.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for StdTimer
impl Freeze for StdTimer
impl Move for StdTimer
impl RefUnwindSafe for StdTimer
impl Send for StdTimer
impl Sync for StdTimer
impl Unpin for StdTimer
impl UnsafeUnpin for StdTimer
impl UnwindSafe for StdTimer
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