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

Loading content...

Implementors

impl TraceHandler for LogTraceHandler[src]

impl TraceHandler for TelemetryTraceHandler[src]

Loading content...