[−][src]Trait metrics_tracing_context::SpanExt
An extention to the tracing::Span
, enabling the access to labels.
Required methods
pub fn with_labels<F>(&self, f: F) where
F: FnMut(&Vec<Label>),
[src]
F: FnMut(&Vec<Label>),
Run the provided function with a read-only access to labels.
Implementations on Foreign Types
impl SpanExt for Span
[src]
pub fn with_labels<F>(&self, f: F) where
F: FnMut(&Vec<Label>),
[src]
F: FnMut(&Vec<Label>),