DisplayToEyre

Trait DisplayToEyre 

Source
pub trait DisplayToEyre<T, E: Display>: Sealed {
    // Required method
    fn display_to_eyre(self) -> Result<T, Report>;
}

Required Methods§

Source

fn display_to_eyre(self) -> Result<T, Report>

Convert the error value to eyre::Report of its Display representation.

Implementations on Foreign Types§

Source§

impl<T, E: Display> DisplayToEyre<T, E> for Result<T, E>

Implementors§