Struct tracing_distributed::BlackholeTelemetry [−][src]
pub struct BlackholeTelemetry<S, T>(_, _);
Expand description
Telemetry implementation that does not publish information to any backend. For use in tests.
Trait Implementations
type Visitor = BlackholeVisitor
type Visitor = BlackholeVisitor
Type used to record tracing fields.
type TraceId = TraceId
type TraceId = TraceId
Globally unique identifier, uniquely identifies a trace.
type SpanId = SpanId
type SpanId = SpanId
Identifies spans within a trace.
Initialize a visitor, used to record values from spans and events as they are observed
Report a Span
to this Telemetry instance’s backend.
Auto Trait Implementations
impl<S, T> RefUnwindSafe for BlackholeTelemetry<S, T> where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for BlackholeTelemetry<S, T> where
S: Send,
T: Send,
impl<S, T> Sync for BlackholeTelemetry<S, T> where
S: Sync,
T: Sync,
impl<S, T> Unpin for BlackholeTelemetry<S, T> where
S: Unpin,
T: Unpin,
impl<S, T> UnwindSafe for BlackholeTelemetry<S, T> where
S: UnwindSafe,
T: 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