Trait snafu::GenerateBacktrace
source · pub trait GenerateBacktrace {
// Required methods
fn generate() -> Self;
fn as_backtrace(&self) -> Option<&Backtrace>;
}
Expand description
Construct a backtrace, allowing it to be optional.
Required Methods§
sourcefn as_backtrace(&self) -> Option<&Backtrace>
fn as_backtrace(&self) -> Option<&Backtrace>
Retrieve the optional backtrace