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§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)