pub trait BacktraceCompat: Error {
// Required method
fn backtrace(&self) -> Option<&DecrustBacktrace>;
}
Expand description
Trait for types that can provide backtraces
This is our version of snafu’s ErrorCompat trait
Required Methods§
Sourcefn backtrace(&self) -> Option<&DecrustBacktrace>
fn backtrace(&self) -> Option<&DecrustBacktrace>
Get the backtrace associated with this error, if any