pub enum FileLimit {
    MaxFiles(usize),
    Age(Duration),
}
Expand description

How to determine whether a file should be deleted, in the case of AppendTimestamp.

Variants

MaxFiles(usize)

Delete the oldest files if number of files is too high

Age(Duration)

Delete files whose age exceeds the Duration - age is determined by the suffix of the file

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.