pub enum TracingLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
}
Expand description
Same as tracing::Level
but serializable.
Variants§
Trait Implementations§
Source§impl AsRef<str> for TracingLevel
impl AsRef<str> for TracingLevel
Source§impl Clone for TracingLevel
impl Clone for TracingLevel
Source§fn clone(&self) -> TracingLevel
fn clone(&self) -> TracingLevel
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 TracingLevel
impl Debug for TracingLevel
Source§impl Display for TracingLevel
impl Display for TracingLevel
Source§impl From<&Level> for TracingLevel
impl From<&Level> for TracingLevel
Source§impl Hash for TracingLevel
impl Hash for TracingLevel
Source§impl PartialEq for TracingLevel
impl PartialEq for TracingLevel
Source§impl Serialize for TracingLevel
impl Serialize for TracingLevel
impl Copy for TracingLevel
impl Eq for TracingLevel
impl StructuralPartialEq for TracingLevel
Auto Trait Implementations§
impl Freeze for TracingLevel
impl RefUnwindSafe for TracingLevel
impl Send for TracingLevel
impl Sync for TracingLevel
impl Unpin for TracingLevel
impl UnwindSafe for TracingLevel
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.