Trait BacktraceCompat

Source
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§

Source

fn backtrace(&self) -> Option<&DecrustBacktrace>

Get the backtrace associated with this error, if any

Implementors§