[][src]Enum flexi_logger::Age

pub enum Age {
    Day,
    Hour,
    Minute,
    Second,
}

The age after which a log file rotation will be triggered, when Criterion::Age is chosen.

Variants

Day

Rotate the log file when the local clock has started a new day since the current file had been created.

Hour

Rotate the log file when the local clock has started a new hour since the current file had been created.

Minute

Rotate the log file when the local clock has started a new minute since the current file had been created.

Second

Rotate the log file when the local clock has started a new second since the current file had been created.

Trait Implementations

impl Clone for Age[src]

impl Copy for Age[src]

Auto Trait Implementations

impl RefUnwindSafe for Age

impl Send for Age

impl Sync for Age

impl Unpin for Age

impl UnwindSafe for Age

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.