Enum Level
#[repr(usize)]
pub enum Level
Variants
-
Error = 1 -
Warn -
Info -
Debug -
Trace
Trait Implementations
impl Clone for Level
fn clone(&self) -> Self
impl Copy for Level
impl Debug for Level
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Level
impl Hash for Level
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for Level
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for Level
Auto Trait Implementations
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
Blanket Implementations
impl<T> Any for Level
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Level
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Level
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Level
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Level
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Level
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Level
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Level
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Level
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>