Enum tracing_tunnel::TracingLevel
source · pub enum TracingLevel {
Error,
Warn,
Info,
Debug,
Trace,
}
Expand description
Tracing level defined in CallSiteData
.
This corresponds to [Level
] from the tracing-core
library, but is (de)serializable.
Variants§
Error
“ERROR” level.
Warn
“WARN” level.
Info
“INFO” level.
Debug
“DEBUG” level.
Trace
“TRACE” level.
Trait Implementations§
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<'de> Deserialize<'de> for TracingLevel
impl<'de> Deserialize<'de> for TracingLevel
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 From<Level> for TracingLevel
impl From<Level> for TracingLevel
source§impl From<TracingLevel> for Level
Available on crate feature receiver
only.
impl From<TracingLevel> for Level
Available on crate feature
receiver
only.source§fn from(level: TracingLevel) -> Self
fn from(level: TracingLevel) -> Self
Converts to this type from the input type.
source§impl Hash for TracingLevel
impl Hash for TracingLevel
source§impl PartialEq for TracingLevel
impl PartialEq for TracingLevel
source§fn eq(&self, other: &TracingLevel) -> bool
fn eq(&self, other: &TracingLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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