Module tracing_error::prelude[][src]

This is supported on crate feature traced-error only.
Expand description

The tracing-error prelude.

This brings into scope the InstrumentError, InstrumentResult, and ExtractSpanTraceextension traits. These traits allow attachingSpanTraces to errors and subsequently retrieving them from dyn Error` trait objects.


A trait for extracting SpanTraces created by in_current_span() from dyn Error trait objects

Extension trait for instrumenting errors with SpanTraces

Extension trait for instrumenting errors in Results with SpanTraces