#[repr(C)]pub enum DebugLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
}Expand description
Debug message severity level
Variants§
Trace = 0
Very detailed tracing information
Debug = 1
Debugging information
Info = 2
General information
Warn = 3
Warnings (potential issues)
Error = 4
Errors
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 Default for DebugLevel
impl Default 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
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more