pub enum LoopVerbosity {
Silent,
LogEveryIteration,
LogActivityInterval {
every_n_seconds: u64,
},
}Expand description
Whether the loop should give additional messaging about its own working (this excludes messages about handling errors, and is just about reporting on normal working)
Variants§
Silent
LogEveryIteration
LogActivityInterval
NOTE: the interval is at least as long; it is never shorter than the loop sleep time.
Auto Trait Implementations§
impl Freeze for LoopVerbosity
impl RefUnwindSafe for LoopVerbosity
impl Send for LoopVerbosity
impl Sync for LoopVerbosity
impl Unpin for LoopVerbosity
impl UnwindSafe for LoopVerbosity
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