wasmtime_wasi_http

Type Alias HttpResult

Source
pub type HttpResult<T, E = HttpError> = Result<T, E>;
Expand description

A Result type where the error type defaults to HttpError.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value