pub struct Data<'a> { /* fields omitted */ }
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.
Formats the value using the given formatter. Read more
Returns a reference to the span’s Metadata.
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
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.