pub enum LogLevelFilter {
Off,
Error,
Warn,
Info,
Debug,
Trace,
}Variants§
Off
A level lower than all log levels.
Error
Corresponds to the Error log level.
Warn
Corresponds to the Warn log level.
Info
Corresponds to the Info log level.
Debug
Corresponds to the Debug log level.
Trace
Corresponds to the Trace log level.
Trait Implementations§
Source§impl Clone for LogLevelFilter
impl Clone for LogLevelFilter
Source§fn clone(&self) -> LogLevelFilter
fn clone(&self) -> LogLevelFilter
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 Into<LevelFilter> for LogLevelFilter
impl Into<LevelFilter> for LogLevelFilter
Source§fn into(self) -> LevelFilter
fn into(self) -> LevelFilter
Converts this type into the (usually inferred) input type.
Source§impl Ord for LogLevelFilter
impl Ord for LogLevelFilter
Source§fn cmp(&self, other: &LogLevelFilter) -> Ordering
fn cmp(&self, other: &LogLevelFilter) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LogLevelFilter
impl PartialEq for LogLevelFilter
Source§impl PartialOrd for LogLevelFilter
impl PartialOrd for LogLevelFilter
Source§impl ValueEnum for LogLevelFilter
impl ValueEnum for LogLevelFilter
impl Copy for LogLevelFilter
impl Eq for LogLevelFilter
impl StructuralPartialEq for LogLevelFilter
Auto Trait Implementations§
impl Freeze for LogLevelFilter
impl RefUnwindSafe for LogLevelFilter
impl Send for LogLevelFilter
impl Sync for LogLevelFilter
impl Unpin for LogLevelFilter
impl UnwindSafe for LogLevelFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more