pub struct Monotonic { /* private fields */ }Expand description
Monotonic clock anchored at construction time. Reports a DateTime<Utc>
derived as program_start_wall + elapsed_since_start. The wall component
is fixed at construction; only the elapsed component advances. Used by
-m to make -i and -s elapsed measurements robust against clock
adjustments.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Monotonic
impl RefUnwindSafe for Monotonic
impl Send for Monotonic
impl Sync for Monotonic
impl Unpin for Monotonic
impl UnsafeUnpin for Monotonic
impl UnwindSafe for Monotonic
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