pub enum LogOccurrence {
All,
Once,
SkipFirst,
}
Expand description
Specify when a log message should be published
Variants§
All
Every message will be published if all other conditions are met
Once
The message will only be published on the first occurrence (Note: no other conditions apply)
SkipFirst
The log message will not be published on the first occurrence, but will be published on each subsequent occurrence (assuming all other conditions are met)
Trait Implementations§
Source§impl Clone for LogOccurrence
impl Clone for LogOccurrence
Source§fn clone(&self) -> LogOccurrence
fn clone(&self) -> LogOccurrence
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogOccurrence
impl Debug for LogOccurrence
Source§impl Default for LogOccurrence
impl Default for LogOccurrence
impl Copy for LogOccurrence
Auto Trait Implementations§
impl Freeze for LogOccurrence
impl RefUnwindSafe for LogOccurrence
impl Send for LogOccurrence
impl Sync for LogOccurrence
impl Unpin for LogOccurrence
impl UnwindSafe for LogOccurrence
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