[−][src]Struct tracing_distributed::BlackholeTelemetry
Telemetry implementation that does not publish information to any backend. For use in tests.
Trait Implementations
impl<S, T> Default for BlackholeTelemetry<S, T>
[src]
impl<SpanId, TraceId> Telemetry for BlackholeTelemetry<SpanId, TraceId> where
SpanId: 'static + Clone + Send + Sync,
TraceId: 'static + Clone + Send + Sync,
[src]
SpanId: 'static + Clone + Send + Sync,
TraceId: 'static + Clone + Send + Sync,
type Visitor = BlackholeVisitor
Type used to record tracing fields.
type TraceId = TraceId
Globally unique identifier, uniquely identifies a trace.
type SpanId = SpanId
Identifies spans within a trace.
fn mk_visitor(&self) -> Self::Visitor
[src]
fn report_span(&self, _: Span<Self::Visitor, Self::SpanId, Self::TraceId>)
[src]
fn report_event(&self, _: Event<Self::Visitor, Self::SpanId, Self::TraceId>)
[src]
Auto Trait Implementations
impl<S, T> RefUnwindSafe for BlackholeTelemetry<S, T> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for BlackholeTelemetry<S, T> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<S, T> Sync for BlackholeTelemetry<S, T> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<S, T> Unpin for BlackholeTelemetry<S, T> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<S, T> UnwindSafe for BlackholeTelemetry<S, T> where
S: UnwindSafe,
T: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,