Struct tracing_tree::time::Uptime
source · pub struct Uptime {
pub higher_precision: bool,
/* 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.
Fields§
§higher_precision: bool
Whether to print the time with higher precision.
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)