Struct tracing_subscriber::registry::Data [−][src]
pub struct Data<'a> { /* fields omitted */ }
registry
only.Expand description
Span data stored in a Registry
.
The registry stores well-known data defined by tracing: span relationships,
metadata and reference counts. Additional user-defined data provided by
Layer
s, such as formatted fields, metrics, or distributed traces should
be stored in the extensions typemap.
Trait Implementations
Returns a reference to the ID
Returns a reference to this span’s Extensions
. Read more
Returns a mutable reference to this span’s Extensions
. Read more
registry
only.Returns true
if this span is enabled for the per-layer filter
corresponding to the provided FilterId
. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Data<'a>
impl<'a> !UnwindSafe for Data<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more