Module wasmer::vm

source ·
Expand description

The vm module re-exports wasmer-vm types.

Structs

  • Configuration for the runtime VM Currently only the stack size is configurable
  • Represents an opaque reference to any data within WebAssembly.
  • VMFuncRef 🔒
    A function reference. A single word that points to metadata about a function.
  • A function export value.
  • Underlying FunctionEnvironment used by a VMFunction.
  • A Global instance
  • VMInstance 🔒
    A handle holding an Instance of a WebAssembly module.
  • Represents linear memory that can be either owned or shared
  • The fields compiled code needs to access to utilize a WebAssembly linear memory defined within the instance, namely the start address and the size in bytes.
  • A shared linear memory instance.
  • A table instance.
  • The fields compiled code needs to access to utilize a WebAssembly table defined within the instance.

Enums

  • Error type describing things that can go wrong when operating on Wasm Memories.
  • Implementation styles for WebAssembly linear memory.
  • Implementation styles for WebAssembly tables.
  • VMExtern 🔒
    The value of an export passed from one instance to another.

Traits

  • Represents memory that is used by the WebAsssembly module

Type Definitions