Module wiggle::wasmtime_crate

source ·

Modules§

  • Embedding API for the Component Model
  • Unix-specific extension for the wasmtime crate.

Structs§

Enums§

Constants§

Traits§

  • A trait used to get shared access to a Store in Wasmtime.
  • A trait used to get exclusive mutable access to a Store in Wasmtime.
  • Implementation of an incremental compilation’s key/value cache store.
  • An object that can take callbacks when the runtime enters or exits hostcalls.
  • A common trait implemented by all garbage-collected reference types.
  • Internal trait implemented for all arguments that can be passed to Func::wrap and Linker::func_wrap.
  • A linear memory. This trait provides an interface for raw memory buffers which are used by wasmtime, e.g. inside [‘Memory’]. Such buffers are in principle not thread safe. By implementing this trait together with MemoryCreator, one can supply wasmtime with custom allocated host managed memory.
  • A memory creator. Can be used to provide a memory creator to wasmtime which supplies host managed memory.
  • Used by hosts to limit resource consumption of instances.
  • Used by hosts to limit resource consumption of instances, blocking asynchronously if necessary.
  • A trait implemented for GC references that are guaranteed to be rooted:
  • A stack creator. Can be used to provide a stack creator to wasmtime which supplies stacks for async support.
  • A stack memory. This trait provides an interface for raw memory buffers which are used by wasmtime inside of stacks which wasmtime executes WebAssembly in for async support. By implementing this trait together with StackCreator, one can supply wasmtime with custom allocated host managed stacks.
  • A trait used for Func::typed and with TypedFunc to represent the set of parameters for wasm functions.
  • A trait used for Func::typed and with TypedFunc to represent the set of results for wasm functions.
  • A trait implemented for types which can be returned from closures passed to Func::wrap and friends.
  • A trait implemented for types which can be arguments and results for closures passed to Func::wrap as well as parameters to Func::typed.

Type Aliases§

Unions§

  • A “raw” and unsafe representation of a WebAssembly value.