pub trait UnwrapOrExit<T> {
// Required method
fn unwrap_or_exit(self) -> T;
}Expand description
Exit with an error message.
Required Methods§
Sourcefn unwrap_or_exit(self) -> T
fn unwrap_or_exit(self) -> T
Unwrap the result or exit with an error message.