Skip to main content

Module server

Module server 

Source

Structs§

InvokeError
Typed invoke error.
RuntimeEngine

Enums§

EngineResponse
Internal response type produced by RuntimeEngine. The IPC layer converts this to a v1 RuntimeResponse or v2 RuntimeResponseV2 based on the request’s api_version.
InvokeErrorKind
Stable categorisation of invoke failures.

Constants§

MAX_DETAIL_BYTES
Maximum byte length of the host-only detail string. Guests can fully control this payload via the WIT handler-error variant, so the host truncates it to bound memory and stderr noise. The limit is enforced on a UTF-8 char boundary so the stored string stays valid.

Traits§

InvokeHandler
Consumers can implement this trait to add business-specific invocation logic.