pub trait LogError<T, E>where
E: Debug,{
// Required methods
fn log_err(self);
fn log_attached_err<A>(self, attachment: A)
where A: Debug + Send + Sync + 'static;
fn and_log_err(self) -> Result<T, E>;
fn and_log(self, level: Level) -> Result<T, E>;
fn and_attached_err<A>(self, attachment: A) -> Result<T, E>
where A: Debug + Send + Sync + 'static;
}Required Methods§
fn log_err(self)
fn log_attached_err<A>(self, attachment: A)
fn and_log_err(self) -> Result<T, E>
fn and_log(self, level: Level) -> Result<T, E>
fn and_attached_err<A>(self, attachment: A) -> Result<T, E>
Object Safety§
This trait is not object safe.