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
pub trait FailedTo<O> {
fn or_failed_to(self, msg: impl Display) -> O;
}
Extension of Result that allows program to panic with Display message on Err for fatal application errors that are not bugs