[][src]Trait substrate_wasmtime::WasmRet

pub trait WasmRet { }

A trait implemented for types which can be returned from closures passed to Func::wrap1 and friends.

This trait should not be implemented by user types. This trait may change at any time internally. The types which implement this trait, however, are stable over time.

For more information see Func::wrap1

Implementations on Foreign Types

impl<T: WasmTy> WasmRet for Result<T, Trap>[src]

type Abi = T::Abi

Loading content...

Implementors

impl<T: WasmTy> WasmRet for T[src]

type Abi = T::Abi

Loading content...