Crate wasm_component_trampoline

Crate wasm_component_trampoline 

Source

Structs§

AsyncGuestCall
A guest call to a WASM component function, which may be executed asynchronously.
AsyncGuestResult
Like GuestResult, but for asynchronous WASM function calls.
CompositionGraph
A graph for composing multiple WebAssembly components into a single linker, while allowing for automatic insertion of “trampoline” functions between cross-component calls.
ForeignInterfacePath
A fully-qualified path to a WIT interface, with an optional version.
GuestCall
A guest call to a WASM component function, which must be executed synchronously.
GuestCallData
Data structure that holds the common context for a guest call to a WASM component function.
GuestResult
A result of a guest call to a WASM component function, which contains the returned value(s) of the underlying WASM call.
InterfacePath
Represents a path to a WIT interface, which may be local (without a package name) or foreign (with a package name). The version is optional in both cases.
InterfaceTrampoline
A trampoline that allows for calling a specific interface function with a context.
PackageId
Represents a unique identifier for a package within the composition graph.
PackageTrampoline
A trampoline that manages multiple interfaces and their respect trampoline functions and contexts for a component package.
RegexMatchFilter

Enums§

AddPackageError
DynInterfaceTrampoline
An abstract trampoline that is either defined for synchronous or asynchronous WASM function calls.
ImportRule
InstantiateError
InstantiatePackageError
InterfacePathParseError
LoadPackageError

Traits§

AsyncTrampoline
Like Trampoline, but for asynchronous WASM function calls.
DynPackageTrampoline
A package-level trampoline factory for each interface name.
ImportFilter
Trampoline
A trampoline is a mechanism to intercept WASM component function calls when switching component contexts.