pub enum RotationCondition {
None,
SizeMB(u64),
Duration(Duration),
}Expand description
Enum for possible file rotation options.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RotationCondition
impl RefUnwindSafe for RotationCondition
impl Send for RotationCondition
impl Sync for RotationCondition
impl Unpin for RotationCondition
impl UnwindSafe for RotationCondition
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