Trait tc_executor_common::wasm_runtime::WasmModule[][src]

pub trait WasmModule: Sync + Send {
    fn new_instance(&self) -> Result<Box<dyn WasmInstance>, Error>;
}

A trait that defines an abstract WASM runtime module.

This can be implemented by an execution engine.

Required methods

fn new_instance(&self) -> Result<Box<dyn WasmInstance>, Error>[src]

Create a new instance.

Loading content...

Implementors

Loading content...