pub trait TryFutureExtBacktrace {
// Required methods
fn log_err_with_backtrace(self) -> LogErrorWithBacktraceFuture<Self> ⓘ
where Self: Sized;
fn log_tracked_err_with_backtrace(
self,
location: Location<'static>,
) -> LogErrorWithBacktraceFuture<Self> ⓘ
where Self: Sized;
}Expand description
{:?}-formatting companion to TryFutureExt; emits a backtrace for anyhow::Error. Prefer
TryFutureExt unless a backtrace is genuinely wanted.
Required Methods§
fn log_err_with_backtrace(self) -> LogErrorWithBacktraceFuture<Self> ⓘwhere
Self: Sized,
fn log_tracked_err_with_backtrace(
self,
location: Location<'static>,
) -> LogErrorWithBacktraceFuture<Self> ⓘwhere
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".