logo

Struct tracing_subscriber::registry::Data[][src]

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.

Trait Implementations

Formats the value using the given formatter. Read more

Returns this span’s ID.

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.