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
pub trait FmtCompactResultAnyhow<'a> {
type Report: Display + 'a;
// Required method
fn fmt_compact_result_anyhow(&'a self) -> Self::Report;
}Extension trait to format Result<T, anyhow::Error> compactly