Struct tracing_subscriber::registry::Data
source · [−]pub struct Data<'a> { /* private fields */ }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
Layers, such as formatted fields, metrics, or distributed traces should
be stored in the extensions typemap.
Trait Implementations
Returns a reference to this span’s Extensions. Read more
Returns a mutable reference to this span’s Extensions. Read more
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
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
