Type Alias matrix_sdk::HttpResult

source ·
pub type HttpResult<T> = Result<T, HttpError>;
Expand description

Result type of a pure HTTP request.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HttpError)

Contains the error value