Type Alias ApiResult

Source
pub type ApiResult<T, E = Box<ApiError>> = Result<T, E>;

Aliased Type§

pub enum ApiResult<T, E = Box<ApiError>> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value