Module tracing_error::prelude
source · 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.
Re-exports
pub use crate::ExtractSpanTrace as _;pub use crate::InstrumentError as _;pub use crate::InstrumentResult as _;