Module execution

Source

Modulesยง

assert_validated ๐Ÿ”’
Helpers for assertions due to prior validation of a WASM program.
const_interpreter_loop
error
function_ref
hooks
interop
This module provides types, traits and impls to convert between Rust types and the Wasm Value type. Internally this module is not used, except for the top-level entry points for invocation.
interpreter_loop ๐Ÿ”’
This module solely contains the actual interpretation loop that matches instructions, interpreting the WASM bytecode
linear_memory ๐Ÿ”’
little_endian ๐Ÿ”’
This module contains the definition and implementation of LittleEndianBytes, a trait to convert values (such as integers or floats) to bytes in little endian byter order
registry
resumable
store
value
value_stack

Structsยง

RuntimeInstance

Constantsยง

DEFAULT_MODULE
The default module name if a RuntimeInstance was created using RuntimeInstance::new.

Functionsยง

host_function_wrapper
Helper function to quickly construct host functions without worrying about wasm to Rust type conversion. For user data, simply move the mutable reference into the passed closure.