[][src]Trait netapp::error::LogError

pub trait LogError {
    pub fn log_err(self, msg: &'static str);
}

Ths trait adds a .log_err() method on Result<(), E> types, which dismisses the error by logging it to stderr.

Required methods

pub fn log_err(self, msg: &'static str)[src]

Loading content...

Implementations on Foreign Types

impl<E> LogError for Result<(), E> where
    E: Into<Error>, 
[src]

Loading content...

Implementors

Loading content...