Module execution

Source

Modulesยง

assert_validated ๐Ÿ”’
Helpers for assertions due to prior validation of a WASM program.
config
const_interpreter_loop
error
function_ref
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
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 reading/writing user data into the current configuration, simply move user_data into the passed closure.