[][src]Trait expect_exit::ExpectedWithError

pub trait ExpectedWithError<T>: Expected<T> {
    fn expect_or_exit_perror(self, msg: &str) -> T;
fn expect_or_die_perror(self, msg: &str) -> T; }

Required methods

fn expect_or_exit_perror(self, msg: &str) -> T

fn expect_or_die_perror(self, msg: &str) -> T

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...