fatal
pub fn expect<T, E: Display>(result: Result<T, E>, message: impl Display) -> T
Unwraps a result or reports the given message with the error and exits.
The error is reported with error!.
error!
See UnwrapExt for an extension trait version.
UnwrapExt