Skip to main content

ReportExt

Trait ReportExt 

Source
pub trait ReportExt {
    // Required method
    fn report(&self) -> impl Display;
}
Expand description

Extension trait for formatting an error with source chain.

Required Methods§

Source

fn report(&self) -> impl Display

Display this error with source chain.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E> ReportExt for E
where E: Error,