HasBaseDispatchTable

Trait HasBaseDispatchTable 

Source
pub(crate) trait HasBaseDispatchTable {
    const DISPATCH_TABLE: [for<'wasm, 'modules> unsafe fn(wasm: &mut WasmReader<'wasm>, resumable: &mut WasmResumable, current_sidetable: &mut &'modules Vec<SidetableEntry>, store_inner: &mut StoreInner, modules: &'modules AddrVec<ModuleAddr, ModuleInst<'wasm>>, current_module: &mut ModuleAddr, current_function_end_marker: &mut usize) -> Result<ControlFlow<InterpreterLoopOutcome>, RuntimeError>; 256];
}

Required Associated Constants§

Source

const DISPATCH_TABLE: [for<'wasm, 'modules> unsafe fn(wasm: &mut WasmReader<'wasm>, resumable: &mut WasmResumable, current_sidetable: &mut &'modules Vec<SidetableEntry>, store_inner: &mut StoreInner, modules: &'modules AddrVec<ModuleAddr, ModuleInst<'wasm>>, current_module: &mut ModuleAddr, current_function_end_marker: &mut usize) -> Result<ControlFlow<InterpreterLoopOutcome>, RuntimeError>; 256]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Config> HasBaseDispatchTable for T

Source§

const DISPATCH_TABLE: [for<'wasm, 'modules> unsafe fn(wasm: &mut WasmReader<'wasm>, resumable: &mut WasmResumable, current_sidetable: &mut &'modules Vec<SidetableEntry>, store_inner: &mut StoreInner, modules: &'modules AddrVec<ModuleAddr, ModuleInst<'wasm>>, current_module: &mut ModuleAddr, current_function_end_marker: &mut usize) -> Result<ControlFlow<InterpreterLoopOutcome>, RuntimeError>; 256]