Trait problem::FailedTo

source ·
pub trait FailedTo<O> {
    fn or_failed_to(self, msg: impl Display) -> O;
}
Expand description

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

Required Methods§

Implementations on Foreign Types§

Implementors§