Trait ErrExit

Source
pub trait ErrExit {
    type Inner;

    // Required method
    fn unwrap_exit(self, error_message: &str) -> Self::Inner;
}

Required Associated Types§

Required Methods§

Source

fn unwrap_exit(self, error_message: &str) -> Self::Inner

Implementations on Foreign Types§

Source§

impl<O, E> ErrExit for Result<O, E>

Source§

type Inner = O

Source§

fn unwrap_exit(self, error_message: &str) -> Self::Inner

Source§

impl<T> ErrExit for Option<T>

Source§

type Inner = T

Source§

fn unwrap_exit(self, error_message: &str) -> Self::Inner

Implementors§