Trait parity_wasm::interpreter::UserFunctionExecutor
[−]
[src]
pub trait UserFunctionExecutor<E: UserError> { fn execute(
&mut self,
name: &str,
context: CallerContext<E>
) -> Result<Option<RuntimeValue>, Error<E>>; }
User functions executor.
Required Methods
fn execute(
&mut self,
name: &str,
context: CallerContext<E>
) -> Result<Option<RuntimeValue>, Error<E>>
&mut self,
name: &str,
context: CallerContext<E>
) -> Result<Option<RuntimeValue>, Error<E>>
Execute function with given name.