Skip to main content

LogFailure

Trait LogFailure 

Source
pub trait LogFailure {
    // Required method
    fn or_log(self, what: &str);
}
Expand description

Log a failure not worth stopping for (cache, history) instead of dropping it.

Required Methods§

Source

fn or_log(self, what: &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: Display> LogFailure for Result<T, E>

Source§

fn or_log(self, what: &str)

Implementors§