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