pub trait IntoErrorReport<'a, T>: Sized {
// Required method
fn into_report(self) -> Result<T, Report<'a>>;
}
Expand description
Extension trait for reporting a result
Required Methods§
Sourcefn into_report(self) -> Result<T, Report<'a>>
fn into_report(self) -> Result<T, Report<'a>>
Convert the result into a report.
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.