sp_runtime::offchain::http

Type Alias HttpResult

source
pub type HttpResult = Result<Response, Error>;
Expand description

A result of waiting for a pending request.

Aliased Type§

enum HttpResult {
    Ok(Response),
    Err(Error),
}

Variants§

§1.0.0

Ok(Response)

Contains the success value

§1.0.0

Err(Error)

Contains the error value