#[repr(usize)]pub enum SerializeLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
}
Variants§
Trace = 0
The “trace” level.
Designates very low priority, often extremely verbose, information.
Debug = 1
The “debug” level.
Designates lower priority information.
Info = 2
The “info” level.
Designates useful information.
Warn = 3
The “warn” level.
Designates hazardous situations.
Error = 4
The “error” level.
Designates very serious errors.
Implementations§
Trait Implementations§
source§impl Clone for SerializeLevel
impl Clone for SerializeLevel
source§fn clone(&self) -> SerializeLevel
fn clone(&self) -> SerializeLevel
Returns a copy 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 SerializeLevel
impl Debug for SerializeLevel
source§impl<'de> Deserialize<'de> for SerializeLevel
impl<'de> Deserialize<'de> for SerializeLevel
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 Hash for SerializeLevel
impl Hash for SerializeLevel
source§impl PartialEq for SerializeLevel
impl PartialEq for SerializeLevel
source§impl Serialize for SerializeLevel
impl Serialize for SerializeLevel
impl Copy for SerializeLevel
impl Eq for SerializeLevel
impl StructuralPartialEq for SerializeLevel
Auto Trait Implementations§
impl Freeze for SerializeLevel
impl RefUnwindSafe for SerializeLevel
impl Send for SerializeLevel
impl Sync for SerializeLevel
impl Unpin for SerializeLevel
impl UnwindSafe for SerializeLevel
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