Skip to main content

Module wasm

Module wasm 

Source
Expand description

Wasmtime-backed WASM executor.

Executes wasm32-wasi capability binaries inside a sandboxed Wasmtime engine. Input is fed via WASI stdin; output is captured from WASI stdout. No ambient WASI authority is granted — all capabilities are deny-by-default.

Structs§

ActivatedConnector
ConnectorInvokeRequest
Versioned guest request accepted by traverse_host::connector_invoke.
ConnectorInvokeResponse
Non-secret response returned to the guest by a mediated connector.
HostAbiImport
A host import observed in a WASM module.
HostAbiValidation
Successful load-time ABI validation evidence.
MediatedConnectorContext
The host-owned authorization context for one WASM execution.
WasmBinaryCacheStats
Snapshot of on-disk WASM binary cache counters.
WasmExecutionLimits
Per-invocation resource limits for WasmExecutor.
WasmExecutor
Executes .wasm32-wasi capability binaries via Wasmtime.
WasmModuleCacheConfig
Bounded compiled-module cache configuration for WasmExecutor.
WasmModuleCacheStats
Snapshot of compiled-module cache counters.

Constants§

SUPPORTED_HOST_ABI_VERSION
Traverse Host ABI v1 is independently versioned from the runtime crate.

Traits§

MediatedConnector
A host-owned activated connector. Its implementation is never visible to a guest.

Functions§

supported_host_abi_versions
Return the Traverse Host ABI versions supported by this runtime.
verify_wasm_host_abi_bytes
Validate a WASM binary against the declared Traverse Host ABI import whitelist.