Module tracing_error::prelude[][src]

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.

Traits

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