Trait wasmedge_sdk::Engine
source · pub trait Engine {
fn run_func(
&self,
func: &Func,
params: impl IntoIterator<Item = WasmValue>
) -> WasmEdgeResult<Vec<WasmValue>>;
fn run_func_ref(
&self,
func_ref: &FuncRef,
params: impl IntoIterator<Item = WasmValue>
) -> WasmEdgeResult<Vec<WasmValue>>;
}
Expand description
The object that is used to perform a host function is required to implement this trait.