Struct metrics_tracing_context::TracingContext [−][src]
pub struct TracingContext<R, F> { /* fields omitted */ }
Expand description
TracingContext
is a metrics::Recorder
that injects labels from tracing::Span
s.
Trait Implementations
Auto Trait Implementations
impl<R, F> RefUnwindSafe for TracingContext<R, F> where
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, F> Send for TracingContext<R, F> where
F: Send,
R: Send,
impl<R, F> Sync for TracingContext<R, F> where
F: Sync,
R: Sync,
impl<R, F> Unpin for TracingContext<R, F> where
F: Unpin,
R: Unpin,
impl<R, F> UnwindSafe for TracingContext<R, F> where
F: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more