[][src]Trait sc_tracing::TraceHandler

pub trait TraceHandler: Send + Sync {
    pub fn handle_span(&self, span: SpanDatum);
pub fn handle_event(&self, event: TraceEvent); }

A handler for tracing SpanDatum

Required methods

pub fn handle_span(&self, span: SpanDatum)[src]

Process a SpanDatum

pub 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...