pub enum DebugLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
Debug level
Variants§
Trait Implementations§
Source§impl Clone for DebugLevel
impl Clone for DebugLevel
Source§fn clone(&self) -> DebugLevel
fn clone(&self) -> DebugLevel
Returns a duplicate 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 Debug for DebugLevel
impl Debug for DebugLevel
Source§impl<'de> Deserialize<'de> for DebugLevel
impl<'de> Deserialize<'de> for DebugLevel
Source§fn 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
Source§impl Display for DebugLevel
impl Display for DebugLevel
Source§impl Hash for DebugLevel
impl Hash for DebugLevel
Source§impl Ord for DebugLevel
impl Ord for DebugLevel
Source§fn cmp(&self, other: &DebugLevel) -> Ordering
fn cmp(&self, other: &DebugLevel) -> 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 DebugLevel
impl PartialEq for DebugLevel
Source§impl PartialOrd for DebugLevel
impl PartialOrd for DebugLevel
Source§impl Serialize for DebugLevel
impl Serialize for DebugLevel
impl Copy for DebugLevel
impl Eq for DebugLevel
impl StructuralPartialEq for DebugLevel
Auto Trait Implementations§
impl Freeze for DebugLevel
impl RefUnwindSafe for DebugLevel
impl Send for DebugLevel
impl Sync for DebugLevel
impl Unpin for DebugLevel
impl UnsafeUnpin for DebugLevel
impl UnwindSafe for DebugLevel
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