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 SpanTrace
s 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 _;