[][src]Trait problem::FailedTo

pub trait FailedTo<O> {
    fn or_failed_to(self, message: impl Display) -> O;
}

Extension of Result that allows program to panic with Display message on Err for fatal application errors that are not bugs

Required methods

fn or_failed_to(self, message: impl Display) -> O

Loading content...

Implementations on Foreign Types

impl<O, E> FailedTo<O> for Result<O, E> where
    E: Into<Problem>, 
[src]

impl<O> FailedTo<O> for Option<O>[src]

Loading content...

Implementors

Loading content...