Crate wasmi_core

Source

Modules§

hint
simd
Defines the entire Wasm simd proposal API.
wasm
Execution helpers for Wasm or Wasmi instructions.

Structs§

ElementSegment
A Wasm ElementSegment.
ElementSegmentRef
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.
FuelCostsProvider
Type storing all kinds of fuel costs of instructions.
FuncType
A function type representing a function’s parameter and result types.
Global
A global variable entity.
GlobalType
The type of a global variable.
Memory
A Wasm linear memory.
MemoryType
The memory type of a linear memory.
MemoryTypeBuilder
A builder for MemoryTypes.
ResourceLimiterRef
Wrapper around an optional &mut dyn ResourceLimiter.
Table
A Wasm table entity.
TableType
A Wasm table descriptor.
Trap
Error type which can be returned by Wasm code or by the host environment.
TypedVal
An UntypedVal with its assumed ValType.
UntypedVal
An untyped value.
V128
The Wasm simd proposal’s v128 type.

Enums§

FuelError
An error that may be encountered when using Fuel.
FuncTypeError
Errors that can occur upon type checking function signatures.
GlobalError
An error that may occur upon operating on global variables.
IndexType
The index type used for addressing memories and tables.
LimiterError
An error either returned by a ResourceLimiter or back to one.
MemoryError
An error that may occur upon operating with virtual or linear memory.
Mutability
The mutability of a global variable.
TableError
Errors that may occur upon operating with table entities.
TrapCode
Error type which can be thrown by wasm code or by host environment.
UntypedError
An error that may occur upon encoding or decoding slices of UntypedVal.
ValType
Type of a value.

Traits§

DecodeUntypedSlice
Tuple types that allow to decode a slice of UntypedVal.
EncodeUntypedSlice
Tuple types that allow to encode a slice of UntypedVal.
FuelCosts
Fuel costs for Wasmi IR instructions.
HostError
Trait that allows the host to return custom error.
ReadAs
Implemented by types that can be read (or decoded) as T.
ResourceLimiter
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.