pub trait ResultToReport<T> {
    type Ok;

    // Required method
    fn to_report(self) -> Result<Self::Ok, Report<T>>;
}

Required Associated Types§

source

type Ok

Type of the Ok value in the Result

Required Methods§

source

fn to_report(self) -> Result<Self::Ok, Report<T>>

Implementations on Foreign Types§

source§

impl<T, E, C> ResultToReport<C> for Result<T, E>
where E: ToReport<C>,

§

type Ok = T

source§

fn to_report(self) -> Result<T, Report<C>>

Implementors§