Skip to main content

WasmExecutor

Trait WasmExecutor 

Source
pub trait WasmExecutor: Send + Sync {
    // Required method
    fn execute(&self, wasm_bytes: &[u8], input: &str) -> ExecuteOutcome;
}

Required Methods§

Source

fn execute(&self, wasm_bytes: &[u8], input: &str) -> ExecuteOutcome

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§