SerdeFromWasmAbiResult

Type Alias SerdeFromWasmAbiResult 

Source
pub type SerdeFromWasmAbiResult<T> = FromWasmAbiResult<T, Error>;

Aliased Type§

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

Variants§

§

Ok(T)

Contains the success value

§

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl<T: for<'a> Deserialize<'a>> FromWasmAbi for SerdeFromWasmAbiResult<T>

Source§

type Abi = u32

The Wasm ABI type that this converts from when coming back out from the ABI boundary.
Source§

unsafe fn from_abi(js: u32) -> Self

Recover a Self from Self::Abi. Read more
Source§

impl<T> WasmDescribe for SerdeFromWasmAbiResult<T>