Type Alias thruster::MiddlewareResult

source ·
pub type MiddlewareResult<C> = Result<C, ThrusterError<C>>;

Aliased Type§

enum MiddlewareResult<C> {
    Ok(C),
    Err(ThrusterError<C>),
}

Variants§

§1.0.0

Ok(C)

Contains the success value

§1.0.0

Err(ThrusterError<C>)

Contains the error value