Skip to main content

CompoundResult

Type Alias CompoundResult 

pub type CompoundResult<T, E1, E2> = Result<T, EitherErr<E1, E2>>;
Expand description

Aliased Type§

pub enum CompoundResult<T, E1, E2> {
    Ok(T),
    Err(EitherErr<E1, E2>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EitherErr<E1, E2>)

Contains the error value