BnRestRespType

Type Alias BnRestRespType 

Source
pub type BnRestRespType<T> = Result<T, SharedRestError<BnRespError>>;

Aliased Type§

pub enum BnRestRespType<T> {
    Ok(T),
    Err(SharedRestError<BnRespError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SharedRestError<BnRespError>)

Contains the error value