Trait parity_wasm::interpreter::UserFunctionExecutor
[−]
[src]
pub trait UserFunctionExecutor { fn execute(
&mut self,
name: &str,
context: CallerContext
) -> Result<Option<RuntimeValue>, Error>; }
User function closure type. 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>
Execute function with given name.