pub enum WireLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Variants§
Implementations§
Source§impl WireLevel
impl WireLevel
pub fn from_tracing(level: &Level) -> Self
pub fn to_tracing(self) -> Level
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireLevel
impl<'de> Deserialize<'de> for WireLevel
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
impl Copy for WireLevel
impl Eq for WireLevel
impl StructuralPartialEq for WireLevel
Auto Trait Implementations§
impl Freeze for WireLevel
impl RefUnwindSafe for WireLevel
impl Send for WireLevel
impl Sync for WireLevel
impl Unpin for WireLevel
impl UnsafeUnpin for WireLevel
impl UnwindSafe for WireLevel
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