Type Alias extism_pdk::SharedFnResult

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

The return type of a shared_fn

Aliased Type§

enum SharedFnResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value