Struct log4rs::append::rolling_file::policy::compound::trigger::time::TimeTrigger
source · pub struct TimeTrigger { /* private fields */ }
Expand description
A trigger which rolls the log once it has passed a certain time.
Implementations§
source§impl TimeTrigger
impl TimeTrigger
sourcepub fn new(config: TimeTriggerConfig) -> TimeTrigger
pub fn new(config: TimeTriggerConfig) -> TimeTrigger
Returns a new trigger which rolls the log once it has passed the specified time.
Trait Implementations§
source§impl Debug for TimeTrigger
impl Debug for TimeTrigger
Auto Trait Implementations§
impl RefUnwindSafe for TimeTrigger
impl Send for TimeTrigger
impl Sync for TimeTrigger
impl Unpin for TimeTrigger
impl UnwindSafe for TimeTrigger
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