Struct tracing_subscriber::fmt::time::Uptime [−][src]
pub struct Uptime { /* fields omitted */ }
This is supported on crate feature
fmt
only.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
Auto Trait Implementations
impl RefUnwindSafe for Uptime
impl UnwindSafe for Uptime
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more