Trait UnwrapLog

Source
pub trait UnwrapLog<T> {
    // Required method
    fn unwrap_log(
        self,
        file: &str,
        line: u32,
        module_path: &str,
        expression: &str,
    ) -> T;
}

Required Methods§

Source

fn unwrap_log( self, file: &str, line: u32, module_path: &str, expression: &str, ) -> T

Implementations on Foreign Types§

Source§

impl<T> UnwrapLog<T> for Option<T>

Source§

fn unwrap_log( self, file: &str, line: u32, module_path: &str, expression: &str, ) -> T

Source§

impl<T, E: Debug> UnwrapLog<T> for Result<T, E>

Source§

fn unwrap_log( self, file: &str, line: u32, module_path: &str, expression: &str, ) -> T

Implementors§