pub trait IntoReport: Sized {
    type Ok;
    type Err;

    fn report(self) -> Result<Self::Ok, Self::Err>;
}
Expand description

Extends Result to convert the Err variant to a Report

Required Associated Types

Type of the Ok value in the Result

Type of the resulting Err variant wrapped inside a Report<E>.

Required Methods

Converts the Err variant of the Result to a Report

Implementations on Foreign Types

Implementors