Enum conserve::termui::TraceTimeStyle
source · pub enum TraceTimeStyle {
None,
Utc,
Local,
Relative,
}
Expand description
Chosen style of timestamp prefix on trace lines.
Variants§
None
No timestamp on trace lines.
Utc
Universal time, in RFC 3339 style.
Local
Local time, in RFC 3339, using the offset when the program starts.
Relative
Time since the start of the process, in seconds.
Trait Implementations§
source§impl Clone for TraceTimeStyle
impl Clone for TraceTimeStyle
source§fn clone(&self) -> TraceTimeStyle
fn clone(&self) -> TraceTimeStyle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TraceTimeStyle
impl Debug for TraceTimeStyle
source§impl ValueEnum for TraceTimeStyle
impl ValueEnum for TraceTimeStyle
Auto Trait Implementations§
impl RefUnwindSafe for TraceTimeStyle
impl Send for TraceTimeStyle
impl Sync for TraceTimeStyle
impl Unpin for TraceTimeStyle
impl UnwindSafe for TraceTimeStyle
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