Struct sc_tracing::LogTraceHandler
source · [−]pub struct LogTraceHandler;
Expand description
TraceHandler for sending span data to the logger
Trait Implementations
sourceimpl TraceHandler for LogTraceHandler
impl TraceHandler for LogTraceHandler
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 LogTraceHandler
impl Send for LogTraceHandler
impl Sync for LogTraceHandler
impl Unpin for LogTraceHandler
impl UnwindSafe for LogTraceHandler
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