pub enum BootTimeSource {
Timekeeper,
UserProvided,
}Expand description
Source of a boot time estimate.
Variants§
Timekeeper
Derived from kernel timekeeper (wall_to_monotonic + offs_boot).
UserProvided
User-provided via –btime flag (e.g., from /proc/stat btime).
Trait Implementations§
Source§impl Clone for BootTimeSource
impl Clone for BootTimeSource
Source§fn clone(&self) -> BootTimeSource
fn clone(&self) -> BootTimeSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootTimeSource
Source§impl Debug for BootTimeSource
impl Debug for BootTimeSource
Source§impl Display for BootTimeSource
impl Display for BootTimeSource
impl Eq for BootTimeSource
Source§impl PartialEq for BootTimeSource
impl PartialEq for BootTimeSource
Source§fn eq(&self, other: &BootTimeSource) -> bool
fn eq(&self, other: &BootTimeSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BootTimeSource
Auto Trait Implementations§
impl Freeze for BootTimeSource
impl RefUnwindSafe for BootTimeSource
impl Send for BootTimeSource
impl Sync for BootTimeSource
impl Unpin for BootTimeSource
impl UnsafeUnpin for BootTimeSource
impl UnwindSafe for BootTimeSource
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.