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