Enum tracing_configuration::Timer
source · pub enum Timer {
None,
Local(Option<String>),
Utc(Option<String>),
System,
Uptime,
}
Expand description
Which timer implementation to use.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timer
impl<'de> Deserialize<'de> for Timer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Timer> for FormatTime
impl From<Timer> for FormatTime
source§impl Ord for Timer
impl Ord for Timer
source§impl PartialEq for Timer
impl PartialEq for Timer
source§impl PartialOrd for Timer
impl PartialOrd for Timer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Timer
impl StructuralPartialEq for Timer
Auto Trait Implementations§
impl Freeze for Timer
impl RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
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