matrix_sdk

Type Alias 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