pub enum LogLevelFilter {
Off,
Error,
Warn,
Info,
Debug,
Trace,
}
An enum representing the available verbosity level filters of the logging
framework.
A LogLevelFilter
may be compared directly to a LogLevel
.
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 Trace log level.
|
Debug | Corresponds to the Debug log level.
|
Trace | Corresponds to the Trace log level.
|
Methods
Returns the most verbose logging level filter.
Converts self
to the equivalent LogLevel
.
Returns None
if self
is LogLevel::Off
.
Trait Implementations
fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
fn gt(&self, other: &Rhs) -> bool
fn ge(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
fn gt(&self, other: &Rhs) -> bool
fn ge(&self, other: &Rhs) -> bool
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).