pub enum RotationStrategy {
KeepAll,
KeepOne,
KeepSome(usize),
}
Variants§
KeepAll
Will keep all the logs, renaming them to include the date.
KeepOne
Will only keep the most recent log up to its maximal size.
KeepSome(usize)
Will keep some of the most recent logs, renaming them to include the date.
Auto Trait Implementations§
impl Freeze for RotationStrategy
impl RefUnwindSafe for RotationStrategy
impl Send for RotationStrategy
impl Sync for RotationStrategy
impl Unpin for RotationStrategy
impl UnwindSafe for RotationStrategy
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