Trait tracing_subscriber::registry::SpanData [−][src]
A stored representation of data associated with a span.
Required methods
fn id(&self) -> Id
[src]
Returns this span’s ID.
fn metadata(&self) -> &'static Metadata<'static>
[src]
Returns a reference to the span’s Metadata
.
fn parent(&self) -> Option<&Id>
[src]
Returns a reference to the ID
fn extensions(&self) -> Extensions<'_>
[src]
Returns a reference to this span’s Extensions
.
The extensions may be used by Layer
s to store additional data
describing the span.
fn extensions_mut(&self) -> ExtensionsMut<'_>
[src]
Returns a mutable reference to this span’s Extensions
.
The extensions may be used by Layer
s to store additional data
describing the span.