pub trait ReportAs<T> {
// Required method
fn report_as<C: Reportable>(self) -> Result<T, Report<C>>;
}Expand description
Extends error_stack::IntoReport to allow an implicit E -> Report<C> inference
Required Methods§
fn report_as<C: Reportable>(self) -> Result<T, Report<C>>
Object Safety§
This trait is not object safe.