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
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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