Type Alias AppResult

Source
pub type AppResult<C = Empty> = Result<Response<C>, AppError>;

Aliased Type§

pub enum AppResult<C = Empty> {
    Ok(Response<C>),
    Err(AppError),
}

Variants§

§1.0.0

Ok(Response<C>)

Contains the success value

§1.0.0

Err(AppError)

Contains the error value