Struct sc_tracing::TelemetryTraceHandler
source · [−]pub struct TelemetryTraceHandler;
Expand description
TraceHandler for sending span data to telemetry, Please see telemetry documentation for details on how to specify endpoints and set the required telemetry level to activate tracing messages
Trait Implementations
sourceimpl TraceHandler for TelemetryTraceHandler
impl TraceHandler for TelemetryTraceHandler
sourcefn handle_span(&self, span_datum: SpanDatum)
fn handle_span(&self, span_datum: SpanDatum)
Process a SpanDatum
sourcefn handle_event(&self, event: TraceEvent)
fn handle_event(&self, event: TraceEvent)
Process a TraceEvent
Auto Trait Implementations
impl RefUnwindSafe for TelemetryTraceHandler
impl Send for TelemetryTraceHandler
impl Sync for TelemetryTraceHandler
impl Unpin for TelemetryTraceHandler
impl UnwindSafe for TelemetryTraceHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more