Module wiggle::wasmtime_crate

source ·

Modules§

  • Unix-specific extension for the wasmtime crate.

Structs§

  • A structure representing the caller’s context when creating a function via Func::wrap.
  • Management of executable memory within a MmapVec
  • A compiled wasm module, ready to be instantiated.
  • Global configuration options used to create an Engine and customize its behavior.
  • An Engine which is a global context for compilation and management of wasm modules.
  • A weak reference to an Engine.
  • The Error type, a wrapper around a dynamic error type.
  • An exported WebAssembly value.
  • A descriptor for an exported WebAssembly value.
  • Description of a frame in a backtrace for a WasmBacktrace.
  • Debug information for a symbol that is attached to a FrameInfo.
  • A WebAssembly function which can be called.
  • The type of a WebAssembly function.
  • An error returned when attempting to allocate a GC-managed object, but the GC heap is out of memory.
  • A WebAssembly global value which can be read and written to.
  • A WebAssembly global descriptor.
  • A descriptor for an imported value into a wasm module.
  • An instantiated WebAssembly module.
  • An instance, pre-instantiation, that is ready to be instantiated.
  • Structure used to link wasm modules/instances together.
  • This type has been disabled because the gc cargo feature was not enabled at compile time.
  • A WebAssembly linear memory.
  • Error for out of bounds Memory access.
  • A descriptor for a WebAssembly memory type.
  • A compiled WebAssembly module, ready to be instantiated.
  • Describes the location of an export in a module.
  • A reference to the abstract nofunc heap value.
  • Opaque references to data in the Wasm heap or to host data.
  • A summary of the amount of resources required to instantiate a particular Module or [Component][crate::component::Component].
  • This type has been disabled because the gc cargo feature was not enabled at compile time.
  • This type is disabled because the gc cargo feature was not enabled at compile time.
  • A constructor for externally-created shared memory.
  • A Store is a collection of WebAssembly instances and host-defined state.
  • A temporary handle to a &Store<T>.
  • A temporary handle to a &mut Store<T>.
  • Provides limits for a Store.
  • Used to build StoreLimits.
  • A WebAssembly table, or an array of values.
  • A descriptor for a table in a WebAssembly module.
  • A statically typed WebAssembly function.
  • Error for an unresolvable import.
  • Representation of a 128-bit vector type, v128, for WebAssembly.
  • Representation of a backtrace of function frames in a WebAssembly module for where an error happened.

Enums§

  • Support for anyref disabled at compile time because the gc cargo feature was not enabled.
  • Passed to the argument of Store::call_hook to indicate a state transition in the WebAssembly VM.
  • An external item to a WebAssembly module, or a list of what can possibly be exported from a wasm module.
  • Support for externref disabled at compile time because the gc cargo feature was not enabled.
  • A list of all possible types which can be externally referenced from a WebAssembly module.
  • The heap types that can Wasm can have references to.
  • Support for i31ref disabled at compile time because the gc cargo feature was not enabled.
  • Represents the module instance allocation strategy to use.
  • Configure the strategy used for versioning in serializing and deserializing crate::Module.
  • Indicator of whether a global is mutable or not
  • Possible optimization levels for the Cranelift codegen backend.
  • Return value from the Engine::detect_precompiled API.
  • Select which profiling technique to support.
  • A reference.
  • Possible Compilation strategies for a wasm module.
  • What to do after returning from a callback when the engine epoch reaches the deadline for a Store during execution of a function using that store.
  • Possible runtime values that a WebAssembly module can either consume or produce.
  • A list of all possible value types in WebAssembly.
  • Select how wasm backtrace detailed information is handled.

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.
  • 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.