Trait parity_wasm::interpreter::UserFunctionExecutor
[−]
[src]
pub trait UserFunctionExecutor { fn execute(
&mut self,
name: &str,
context: CallerContext
) -> Result<Option<RuntimeValue>, Error>; }
Deprecated since 0.23
: Use wasmi crate to interpret wasm
User functions executor.
Required Methods
fn execute(
&mut self,
name: &str,
context: CallerContext
) -> Result<Option<RuntimeValue>, Error>
&mut self,
name: &str,
context: CallerContext
) -> Result<Option<RuntimeValue>, Error>
Deprecated since 0.23
: Use wasmi crate to interpret wasm
Execute function with given name.