Struct log4rs::append::rolling_file::policy::compound::CompoundPolicy
source · [−]pub struct CompoundPolicy { /* private fields */ }
Expand description
A rolling policy which delegates to a “trigger” and “roller”.
The trigger determines if the log file should roll, for example, by checking the size of the file. The roller processes the old log file, for example, by compressing it and moving it to a different location.
Implementations
sourceimpl CompoundPolicy
impl CompoundPolicy
Trait Implementations
sourceimpl Debug for CompoundPolicy
impl Debug for CompoundPolicy
Auto Trait Implementations
impl !RefUnwindSafe for CompoundPolicy
impl Send for CompoundPolicy
impl Sync for CompoundPolicy
impl Unpin for CompoundPolicy
impl !UnwindSafe for CompoundPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more