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§
Trait Implementations§
source§impl 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§
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