Skip to main content

Crate wasmi_core

Crate wasmi_core 

Source

Modules§

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

Structs§

CustomFuelCosts
Custom fuel costs for dynamic fuel metering.
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.
RawRef
A raw reference value.
RawVal
A raw value.
ResourceLimiterRef
Wrapper around an optional &mut dyn ResourceLimiter.
ShiftAmount
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.
TypedRawRef
A raw typed reference value.
TypedRawVal
An RawVal with its assumed ValType.
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.
RefType
A Wasm reference type.
TableError
Errors that may occur upon operating with table entities.
TrapCode
Error type which can be thrown by wasm code or by host environment.
ValType
Type of a value.

Traits§

FuelCosts
Fuel costs for Wasmi IR instructions.
HostError
Trait that allows the host to return custom error.
IntoShiftAmount
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.