Type Alias wasmtime_wasi::preview2::SocketResult

source ·
pub type SocketResult<T> = Result<T, SocketError>;

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TrappableError<ErrorCode>)

Contains the error value