Skip to main content

RestResult

Type Alias RestResult 

Source
pub type RestResult<T> = Result<T, RestError>;
Expand description

Result type used by REST helpers.

Aliased Type§

pub enum RestResult<T> {
    Ok(T),
    Err(RestError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RestError)

Contains the error value