pub trait IntoReport: Sized { type Ok; type Err; fn report(self) -> Result<Self::Ok, Self::Err>; }
Extends Result to convert the Err variant to a Report
Result
Err
Report
Type of the Ok value in the Result
Ok
Type of the resulting Err variant wrapped inside a Report<E>.
Report<E>
Converts the Err variant of the Result to a Report