fedimint_core::util

Trait FmtCompact

Source
pub trait FmtCompact<'a> {
    type Report: Display + 'a;

    // Required method
    fn fmt_compact(self) -> Self::Report;
}
Expand description

Simple utility trait to print error chains

Required Associated Types§

Required Methods§

Source

fn fmt_compact(self) -> Self::Report

Implementations on Foreign Types§

Source§

impl<'e, E> FmtCompact<'e> for &'e E
where E: Error,

Implementors§