Type Alias eva_common::EResult

source ·
pub type EResult<T> = Result<T, Error>;

Aliased Type§

enum EResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<R, E> ErrLogger for Result<R, E>where E: Display,

source§

fn log_ef(self)

log error and forget the result
source§

fn log_efd(self)

log error as debug and forget the result
source§

fn log_err(self) -> Self

log error and keep the result
source§

fn log_ed(self) -> Self

log error as debug and keep the result