pub enum LogOccurrence {
All,
Once,
SkipFirst,
}Expand description
rclrs’s LogOccurrence: which records of a call site emit.
Variants§
All
Every record (the default).
Once
Only the first record that passes the severity and filter checks.
SkipFirst
Every record except the first that passes those checks.
Trait Implementations§
Source§impl Clone for LogOccurrence
impl Clone for LogOccurrence
Source§fn clone(&self) -> LogOccurrence
fn clone(&self) -> LogOccurrence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogOccurrence
Source§impl Debug for LogOccurrence
impl Debug for LogOccurrence
Source§impl Default for LogOccurrence
impl Default for LogOccurrence
Source§fn default() -> LogOccurrence
fn default() -> LogOccurrence
Returns the “default value” for a type. Read more
impl Eq for LogOccurrence
Source§impl PartialEq for LogOccurrence
impl PartialEq for LogOccurrence
impl StructuralPartialEq 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 UnsafeUnpin 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