Enum sozu_command_lib::logging::LogLevelFilter [−][src]
#[repr(usize)] pub enum LogLevelFilter { Off, Error, Warn, Info, Debug, Trace, }
Variants
Implementations
impl LogLevelFilter
[src]
impl LogLevelFilter
[src]pub fn max() -> LogLevelFilter
[src]
Returns the most verbose logging level filter.
pub fn to_log_level(self) -> Option<LogLevel>
[src]
Converts self
to the equivalent LogLevel
.
Returns None
if self
is LogLevelFilter::Off
.
Trait Implementations
impl Clone for LogLevelFilter
[src]
impl Clone for LogLevelFilter
[src]fn clone(&self) -> LogLevelFilter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LogLevelFilter
[src]
impl Copy for LogLevelFilter
[src]impl Eq for LogLevelFilter
[src]
impl Eq for LogLevelFilter
[src]impl FromStr for LogLevelFilter
[src]
impl FromStr for LogLevelFilter
[src]impl Ord for LogLevelFilter
[src]
impl Ord for LogLevelFilter
[src]impl PartialEq<LogLevel> for LogLevelFilter
[src]
impl PartialEq<LogLevel> for LogLevelFilter
[src]impl PartialEq<LogLevelFilter> for LogLevel
[src]
impl PartialEq<LogLevelFilter> for LogLevel
[src]impl PartialEq<LogLevelFilter> for LogLevelFilter
[src]
impl PartialEq<LogLevelFilter> for LogLevelFilter
[src]impl PartialOrd<LogLevel> for LogLevelFilter
[src]
impl PartialOrd<LogLevel> for LogLevelFilter
[src]impl PartialOrd<LogLevelFilter> for LogLevel
[src]
impl PartialOrd<LogLevelFilter> for LogLevel
[src]fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl PartialOrd<LogLevelFilter> for LogLevelFilter
[src]
impl PartialOrd<LogLevelFilter> for LogLevelFilter
[src]fn partial_cmp(&self, other: &LogLevelFilter) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for LogLevelFilter
[src]
impl StructuralEq for LogLevelFilter
[src]Auto Trait Implementations
impl RefUnwindSafe for LogLevelFilter
impl RefUnwindSafe for LogLevelFilter
impl Send for LogLevelFilter
impl Send for LogLevelFilter
impl Sync for LogLevelFilter
impl Sync for LogLevelFilter
impl Unpin for LogLevelFilter
impl Unpin for LogLevelFilter
impl UnwindSafe for LogLevelFilter
impl UnwindSafe for LogLevelFilter