1
2
3
4
5
6
7
8
9
10
11
12
13
pub use std::backtrace::Backtrace;

impl crate::GenerateImplicitData for Backtrace {
    fn generate() -> Self {
        Backtrace::force_capture()
    }
}

impl crate::AsBacktrace for Backtrace {
    fn as_backtrace(&self) -> Option<&Backtrace> {
        Some(self)
    }
}