pub trait ResultLogExt<T, E> {
    // Required methods
    fn ok_warn(self) -> Option<T>;
    fn ok_error(self) -> Option<T>;
}

Required Methods§

source

fn ok_warn(self) -> Option<T>

source

fn ok_error(self) -> Option<T>

Implementations on Foreign Types§

source§

impl<T, E> ResultLogExt<T, E> for Result<T, E>where E: Display,

source§

fn ok_warn(self) -> Option<T>

source§

fn ok_error(self) -> Option<T>

Implementors§