Modules§
- hint
- simd
- Defines the entire Wasm
simd
proposal API. - wasm
- Execution helpers for Wasm or Wasmi instructions.
Structs§
- Element
Segment - A Wasm
ElementSegment
. - Element
Segment Ref - A shared reference to a Wasm
ElementSegment
. - F32
- A 32-bit
f32
type. - F64
- A 64-bit
f64
type. - Fuel
- The remaining and consumed fuel counters.
- Fuel
Costs Provider - Type storing all kinds of fuel costs of instructions.
- Func
Type - A function type representing a function’s parameter and result types.
- Global
- A global variable entity.
- Global
Type - The type of a global variable.
- Memory
- A Wasm linear memory.
- Memory
Type - The memory type of a linear memory.
- Memory
Type Builder - A builder for
MemoryType
s. - Resource
Limiter Ref - Wrapper around an optional
&mut dyn
ResourceLimiter
. - Table
- A Wasm table entity.
- Table
Type - A Wasm table descriptor.
- Trap
- Error type which can be returned by Wasm code or by the host environment.
- Typed
Val - An
UntypedVal
with its assumedValType
. - Untyped
Val - An untyped value.
- V128
- The Wasm
simd
proposal’sv128
type.
Enums§
- Fuel
Error - An error that may be encountered when using
Fuel
. - Func
Type Error - Errors that can occur upon type checking function signatures.
- Global
Error - An error that may occur upon operating on global variables.
- Index
Type - The index type used for addressing memories and tables.
- Limiter
Error - An error either returned by a
ResourceLimiter
or back to one. - Memory
Error - An error that may occur upon operating with virtual or linear memory.
- Mutability
- The mutability of a global variable.
- Table
Error - Errors that may occur upon operating with table entities.
- Trap
Code - Error type which can be thrown by wasm code or by host environment.
- Untyped
Error - An error that may occur upon encoding or decoding slices of
UntypedVal
. - ValType
- Type of a value.
Traits§
- Decode
Untyped Slice - Tuple types that allow to decode a slice of
UntypedVal
. - Encode
Untyped Slice - Tuple types that allow to encode a slice of
UntypedVal
. - Fuel
Costs - Fuel costs for Wasmi IR instructions.
- Host
Error - Trait that allows the host to return custom error.
- ReadAs
- Implemented by types that can be read (or decoded) as
T
. - Resource
Limiter - Used by hosts to limit resource consumption of instances.
- Typed
- Types that are associated to a static Wasm type.
- WriteAs
- Implemented by types that can be written to (or encoded) as
T
.