#[non_exhaustive]pub struct ErasedMetadata { /* private fields */ }Expand description
Serializable metadata from a tracing span.
Implementations§
Source§impl ErasedMetadata
impl ErasedMetadata
Sourcepub const fn level(&self) -> TracingLevel
pub const fn level(&self) -> TracingLevel
The span’s verbosity level.
Sourcepub fn module_path(&self) -> Option<&str>
pub fn module_path(&self) -> Option<&str>
The module path the span was created in, if recorded.
Trait Implementations§
Source§impl Clone for ErasedMetadata
impl Clone for ErasedMetadata
Source§fn clone(&self) -> ErasedMetadata
fn clone(&self) -> ErasedMetadata
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 moreSource§impl Debug for ErasedMetadata
impl Debug for ErasedMetadata
Source§impl<'de> Deserialize<'de> for ErasedMetadata
impl<'de> Deserialize<'de> for ErasedMetadata
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
impl Eq for ErasedMetadata
Source§impl<'a> From<&'a Metadata<'_>> for ErasedMetadata
Available on crate feature tracing only.
impl<'a> From<&'a Metadata<'_>> for ErasedMetadata
Available on crate feature
tracing only.Source§impl PartialEq for ErasedMetadata
impl PartialEq for ErasedMetadata
Source§impl Serialize for ErasedMetadata
impl Serialize for ErasedMetadata
impl StructuralPartialEq for ErasedMetadata
Auto Trait Implementations§
impl Freeze for ErasedMetadata
impl RefUnwindSafe for ErasedMetadata
impl Send for ErasedMetadata
impl Sync for ErasedMetadata
impl Unpin for ErasedMetadata
impl UnsafeUnpin for ErasedMetadata
impl UnwindSafe for ErasedMetadata
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