Skip to main content

HttpResult

Type Alias HttpResult 

Source
type HttpResult<T> = Result<T, Error>;

Aliased Type§

enum HttpResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.