Skip to main content

ErrorFormatter

Trait ErrorFormatter 

Source
pub trait ErrorFormatter:
    Send
    + Sync
    + Debug
    + 'static {
    // Provided method
    fn display_closed_error(&self, f: &mut Formatter<'_>, event: &str) -> Result { ... }
}

Provided Methods§

Source

fn display_closed_error(&self, f: &mut Formatter<'_>, event: &str) -> Result

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§