Trait wallswitch::ResultExt
source · pub trait ResultExt<T> {
// Required method
fn unwrap_result(self) -> T;
}Expand description
Result Extension
Required Methods§
sourcefn unwrap_result(self) -> T
fn unwrap_result(self) -> T
If OK, unwrap Result<T, Error> to the value T.
If Error, terminate the current process with error messages.