pub trait ErrorTraceExt {
// Required method
fn trace_error(&self) -> &Self;
}Expand description
Extension trait for adding tracing context to errors
Required Methods§
Sourcefn trace_error(&self) -> &Self
fn trace_error(&self) -> &Self
Log error with full context including error code, retryable status, and error chain
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.