pub trait IgnorableError {
// Required method
fn unwrap_or_warn(self, msg: &str);
}Expand description
An error that can be ignored with just a warning.
Required Methods§
fn unwrap_or_warn(self, msg: &str)
Implementations on Foreign Types§
Source§impl<T, E> IgnorableError for Result<T, E>where
E: Debug,
impl<T, E> IgnorableError for Result<T, E>where
E: Debug,
Source§fn unwrap_or_warn(self, msg: &str)
fn unwrap_or_warn(self, msg: &str)
Logs the error as a warning and returns a unit.