Crate wasm

Crate wasm 

Source

Modules§

addrs
Type definitions for addr types
config
const_interpreter_loop
core 🔒
error
execution 🔒
opcodes
All opcodes, in alphanumerical order by their numeric (hex-)value
resumable
rw_spinlock
Naive implementation of spin based locking mechanisms
store
validation 🔒
value
value_stack

Macros§

unreachable_validated

Structs§

FuncType
https://webassembly.github.io/spec/core/binary/types.html#function-types
GlobalType
HaltExecutionError
A marker error for host functions to return, in case they want execution to be halted.
InstantiationOutcome
Represents a successful, possibly fueled instantiation of a module.
Limits
MemType
ResultType
https://webassembly.github.io/spec/core/binary/types.html#value-types
Store
The store represents all global state that can be manipulated by WebAssembly programs. It consists of the runtime representation of all instances of functions, tables, memories, and globals, element segments, and data segments that have been allocated during the life time of the abstract machine. https://webassembly.github.io/spec/core/exec/runtime.html#store
TableType
ValidationInfo
Information collected from validating a module.

Enums§

Error
An opt-in error type useful for merging all error types of this crate into a single type.
ExternType
https://webassembly.github.io/spec/core/valid/types.html#external-types
ExternVal
https://webassembly.github.io/spec/core/exec/runtime.html#external-values
NumType
https://webassembly.github.io/spec/core/binary/types.html#number-types
RefType
https://webassembly.github.io/spec/core/binary/types.html#reference-types
RuntimeError
TrapError
ValType
https://webassembly.github.io/spec/core/binary/types.html#reference-types TODO flatten NumType and RefType enums, as they are not used individually and wasmparser also does it.
ValidationError
Value
A value at runtime. This is essentially a duplicate of ValType just with additional values.

Traits§

ExternFilterable
common convention functions defined for lists of ExternVals, ExternTypes, Exports https://webassembly.github.io/spec/core/exec/runtime.html#conventions https://webassembly.github.io/spec/core/syntax/types.html#id3 https://webassembly.github.io/spec/core/syntax/modules.html?highlight=convention#id1

Functions§

validate

Type Aliases§

Result
A definition for a Result using the optional Error type.