Trait sozu_lib::util::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§