pub enum PrefixSource {
Absolute,
SincePreviousLine,
SinceProgramStart,
}Expand description
Selects which time value is rendered into each line’s prefix.
Variants§
Absolute
Absolute wall-clock time (FR-001, FR-003 default).
SincePreviousLine
Elapsed since the previous input line (FR-005, -i). The “previous”
anchor starts at program start for the first line, matching moreutils.
SinceProgramStart
Elapsed since program start (FR-006, -s).
Trait Implementations§
Source§impl Clone for PrefixSource
impl Clone for PrefixSource
Source§fn clone(&self) -> PrefixSource
fn clone(&self) -> PrefixSource
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 moreAuto Trait Implementations§
impl Freeze for PrefixSource
impl RefUnwindSafe for PrefixSource
impl Send for PrefixSource
impl Sync for PrefixSource
impl Unpin for PrefixSource
impl UnsafeUnpin for PrefixSource
impl UnwindSafe for PrefixSource
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