[][src]Trait mmrbi::ResultExt

pub trait ResultExt {
    type Output;
    fn or_die(self) -> Self::Output;
}

Utility methods for std::result::Result

Associated Types

type Output

Loading content...

Required methods

fn or_die(self) -> Self::Output

Shorthand for result.unwrap_or_else(|err| fatal!("{}", err))

Loading content...

Implementations on Foreign Types

impl<T, E: Display> ResultExt for Result<T, E>[src]

type Output = T

Loading content...

Implementors

Loading content...