pub trait FmtCompactResultAnyhow<'a> {
type Report: Display + 'a;
// Required method
fn fmt_compact_result_anyhow(&'a self) -> Self::Report;
}Expand description
Extension trait to format Result<T, anyhow::Error> compactly
Required Associated Types§
Required Methods§
fn fmt_compact_result_anyhow(&'a self) -> Self::Report
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".