Trait sc_tracing::TraceHandler [−][src]
pub trait TraceHandler: Send + Sync { fn handle_span(&self, span: SpanDatum); fn handle_event(&self, event: TraceEvent); }
A handler for tracing SpanDatum
Required methods
fn handle_span(&self, span: SpanDatum)
[src]
Process a SpanDatum
fn handle_event(&self, event: TraceEvent)
[src]
Process a TraceEvent
Implementors
impl TraceHandler for LogTraceHandler
[src]
impl TraceHandler for LogTraceHandler
[src]fn handle_span(&self, span_datum: SpanDatum)
[src]
fn handle_event(&self, event: TraceEvent)
[src]
impl TraceHandler for TelemetryTraceHandler
[src]
impl TraceHandler for TelemetryTraceHandler
[src]