[][src]Trait program_flow::OrExit

pub trait OrExit<T> {
    fn unwrap_or_exit<M: Display>(self, with_msg_prefix: Option<M>) -> T;
}

Required methods

fn unwrap_or_exit<M: Display>(self, with_msg_prefix: Option<M>) -> T

Loading content...

Implementations on Foreign Types

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

impl<T> OrExit<T> for Option<T>[src]

Loading content...

Implementors

Loading content...