Struct tracing_subscriber::fmt::time::Uptime
source · pub struct Uptime { /* private fields */ }
Expand description
Retrieve and print the relative elapsed wall-clock time since an epoch.
The Default
implementation for Uptime
makes the epoch the current time.
Trait Implementations§
source§impl FormatTime for Uptime
impl FormatTime for Uptime
source§impl PartialEq for Uptime
impl PartialEq for Uptime
impl Copy for Uptime
impl Eq for Uptime
impl StructuralPartialEq for Uptime
Auto Trait Implementations§
impl Freeze for Uptime
impl RefUnwindSafe for Uptime
impl Send for Uptime
impl Sync for Uptime
impl Unpin for Uptime
impl UnwindSafe for Uptime
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