Enum cyfs_debug::LogLevel
source · [−]#[repr(usize)]
pub enum LogLevel {
Off,
Error,
Warn,
Info,
Debug,
Trace,
}Variants
Off
Error
Warn
Info
Debug
Trace
Trait Implementations
sourceimpl<'de> Deserialize<'de> for LogLevel
impl<'de> Deserialize<'de> for LogLevel
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<LevelFilter> for LogLevel
impl From<LevelFilter> for LogLevel
sourcefn from(v: LevelFilter) -> Self
fn from(v: LevelFilter) -> Self
Converts to this type from the input type.
sourceimpl FromStr for LogLevel
impl FromStr for LogLevel
sourcefn from_str(level: &str) -> BuckyResult<LogLevel>
fn from_str(level: &str) -> BuckyResult<LogLevel>
Parse a string representation of an IPv4 address.
type Err = BuckyError
type Err = BuckyError
The associated error which can be returned from parsing.
sourceimpl Into<LevelFilter> for LogLevel
impl Into<LevelFilter> for LogLevel
sourcefn into(self) -> LevelFilter
fn into(self) -> LevelFilter
Converts this type into the (usually inferred) input type.
sourceimpl Ord for LogLevel
impl Ord for LogLevel
sourceimpl PartialOrd<LogLevel> for LogLevel
impl PartialOrd<LogLevel> for LogLevel
sourcefn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for LogLevel
impl Eq for LogLevel
impl StructuralEq for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more