Struct log4rs::append::rolling_file::policy::compound::trigger::size::SizeTrigger
source · [−]pub struct SizeTrigger { /* private fields */ }
Expand description
A trigger which rolls the log once it has passed a certain size.
Implementations
sourceimpl SizeTrigger
impl SizeTrigger
sourcepub fn new(limit: u64) -> SizeTrigger
pub fn new(limit: u64) -> SizeTrigger
Returns a new trigger which rolls the log once it has passed the specified size in bytes.
Trait Implementations
sourceimpl Debug for SizeTrigger
impl Debug for SizeTrigger
Auto Trait Implementations
impl RefUnwindSafe for SizeTrigger
impl Send for SizeTrigger
impl Sync for SizeTrigger
impl Unpin for SizeTrigger
impl UnwindSafe for SizeTrigger
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