Skip to main content

LoggableError

Trait LoggableError 

Source
pub trait LoggableError {
    // Required methods
    fn info_failed(self, msg: &str);
    fn warn_failed(self, msg: &str);
    fn err_failed(self, msg: &str);
}

Required Methods§

Source

fn info_failed(self, msg: &str)

Source

fn warn_failed(self, msg: &str)

Source

fn err_failed(self, msg: &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T, E: Error> LoggableError for Result<T, E>

Source§

fn info_failed(self, msg: &str)

Source§

fn warn_failed(self, msg: &str)

Source§

fn err_failed(self, msg: &str)

Implementors§