Skip to main content

HttpResult

Type Alias HttpResult 

Source
pub type HttpResult = Result<HttpResponse, HttpError>;

Aliased Type§

pub enum HttpResult {
    Ok(Response),
    Err(HttpError),
}

Variants§

§1.0.0

Ok(Response)

Contains the success value

§1.0.0

Err(HttpError)

Contains the error value