Skip to main content

FmtCompactResultAnyhow

Trait FmtCompactResultAnyhow 

Source
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§

Implementations on Foreign Types§

Source§

impl<'a, T> FmtCompactResultAnyhow<'a> for Result<T, Error>
where T: 'a,

Implementors§