🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

tracing_error

Module prelude

Source
Available on crate feature traced-error only.
Expand description

The tracing-error prelude.

This brings into scope the InstrumentError, InstrumentResult, and ExtractSpanTrace extension traits. These traits allow attaching SpanTraces to errors and subsequently retrieving them from dyn Error trait objects.

Re-exports§

pub use crate::ExtractSpanTrace as _;
pub use crate::InstrumentError as _;
pub use crate::InstrumentResult as _;