Type Alias wstd::http::Result

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

The wasi-http-client result type.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(ErrorCode),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ErrorCode)

Contains the error value