Trait ResultLogExt

Source
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§