Trait AsBacktrace

Source
pub trait AsBacktrace {
    // Required method
    fn as_backtrace(&self) -> Option<&Backtrace>;
}
Expand description

Trait for types that can provide a backtrace

This is our version of snafu’s AsBacktrace trait

Required Methods§

Source

fn as_backtrace(&self) -> Option<&Backtrace>

Get the backtrace associated with this error, if any

Implementations on Foreign Types§

Source§

impl AsBacktrace for Backtrace

Implementors§