#[repr(u8)]pub enum TracingLevel {
TRACE = 0,
DEBUG = 1,
INFO = 2,
WARN = 3,
ERROR = 4,
UNKNOWN = 5,
}Expand description
The verbosity level of a transported span, mirroring tracing::Level.
Unrecognized or unparseable level strings map to UNKNOWN
instead of rejecting the payload, whether parsed or deserialized.
Variants§
TRACE = 0
The most verbose level.
DEBUG = 1
Debug-level diagnostics.
INFO = 2
Informational messages.
WARN = 3
Warnings about recoverable conditions.
ERROR = 4
Errors and failures.
UNKNOWN = 5
A level that could not be recognized when deserializing.
Trait Implementations§
Source§impl Clone for TracingLevel
impl Clone for TracingLevel
Source§fn clone(&self) -> TracingLevel
fn clone(&self) -> TracingLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TracingLevel
Source§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 Display for TracingLevel
impl Display for TracingLevel
impl Eq for TracingLevel
Source§impl From<&Level> for TracingLevel
Available on crate feature tracing only.
impl From<&Level> for TracingLevel
Available on crate feature
tracing only.Source§impl From<TracingLevel> for Level
Available on crate feature tracing only.
impl From<TracingLevel> for Level
Available on crate feature
tracing only.Source§fn from(level: TracingLevel) -> Self
fn from(level: TracingLevel) -> Self
Converts to this type from the input type.
Source§impl FromStr for TracingLevel
impl FromStr for TracingLevel
Source§impl PartialEq for TracingLevel
impl PartialEq for TracingLevel
Source§impl Serialize for TracingLevel
impl Serialize 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 UnsafeUnpin 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