pub trait AsReport: Sealed {
    // Required method
    fn as_report(&self) -> Report<'_>;
}
Expand description

Extension trait for std::error::Error that provides a Report that formats the error and its sources in a cleaned-up way.

Required Methods§

source

fn as_report(&self) -> Report<'_>

Returns a Report that formats the error and its sources in a cleaned-up way.

Implementations on Foreign Types§

source§

impl AsReport for dyn Error

source§

fn as_report(&self) -> Report<'_>

Implementors§