pub enum VerbosityFilter {
Off,
Error,
Warn,
Info,
Debug,
Trace,
}
Expand description
A representation of the log level filter.
Used to calculate the log level and filter.
Variants§
Trait Implementations§
Source§impl Clone for VerbosityFilter
impl Clone for VerbosityFilter
Source§fn clone(&self) -> VerbosityFilter
fn clone(&self) -> VerbosityFilter
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 VerbosityFilter
impl Debug for VerbosityFilter
Source§impl Display for VerbosityFilter
impl Display for VerbosityFilter
Source§impl From<LevelFilter> for VerbosityFilter
Available on crate feature log
only.
impl From<LevelFilter> for VerbosityFilter
Available on crate feature
log
only.Source§fn from(level: LevelFilter) -> Self
fn from(level: LevelFilter) -> Self
Converts to this type from the input type.
Source§impl From<LevelFilter> for VerbosityFilter
Available on crate feature tracing
only.
impl From<LevelFilter> for VerbosityFilter
Available on crate feature
tracing
only.Source§fn from(level: LevelFilter) -> Self
fn from(level: LevelFilter) -> Self
Converts to this type from the input type.
Source§impl From<VerbosityFilter> for LevelFilter
Available on crate feature log
only.
impl From<VerbosityFilter> for LevelFilter
Available on crate feature
log
only.Source§fn from(filter: VerbosityFilter) -> Self
fn from(filter: VerbosityFilter) -> Self
Converts to this type from the input type.
Source§impl From<VerbosityFilter> for LevelFilter
Available on crate feature tracing
only.
impl From<VerbosityFilter> for LevelFilter
Available on crate feature
tracing
only.Source§fn from(filter: VerbosityFilter) -> Self
fn from(filter: VerbosityFilter) -> Self
Converts to this type from the input type.
Source§impl From<VerbosityFilter> for Option<Level>
Available on crate feature log
only.
impl From<VerbosityFilter> for Option<Level>
Available on crate feature
log
only.Source§fn from(filter: VerbosityFilter) -> Self
fn from(filter: VerbosityFilter) -> Self
Converts to this type from the input type.
Source§impl From<VerbosityFilter> for Option<Level>
Available on crate feature tracing
only.
impl From<VerbosityFilter> for Option<Level>
Available on crate feature
tracing
only.Source§fn from(filter: VerbosityFilter) -> Self
fn from(filter: VerbosityFilter) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VerbosityFilter
impl PartialEq for VerbosityFilter
impl Copy for VerbosityFilter
impl Eq for VerbosityFilter
impl StructuralPartialEq for VerbosityFilter
Auto Trait Implementations§
impl Freeze for VerbosityFilter
impl RefUnwindSafe for VerbosityFilter
impl Send for VerbosityFilter
impl Sync for VerbosityFilter
impl Unpin for VerbosityFilter
impl UnwindSafe for VerbosityFilter
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