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