pub trait IntoReport<T> {
// Required method
fn into_report(self) -> Result<T, Report<'static>>;
}
Expand description
Trait for converting something into an error report.
Required Methods§
Sourcefn into_report(self) -> Result<T, Report<'static>>
fn into_report(self) -> Result<T, Report<'static>>
Convert self into an error report if self is an error.