Expand description
The values that cross the boundary, and their encoders.
These deliberately mirror holger_traits::{ArtifactId, ArtifactEntry} rather
than reusing them: holger-traits depends on znippy-common, which carries
arrow, io_uring and the gatling engine, so it cannot be compiled for
wasm32-unknown-unknown. The mapping between the two lives in exactly one
place — holger_plugin_host::convert — so a guest and a linked backend are
projected into the router through the same code.
Structs§
- Wire
Artifact Entry - One listed artifact. Mirror of
holger_traits::ArtifactEntry. - Wire
Artifact Id - A package coordinate. Mirror of
holger_traits::ArtifactId. - Wire
Http Request - The request half of the HTTP door.
- Wire
Http Response (status, headers, body)— the established HTTP-door contract across holger’s backends, carried as one value.- Wire
List Request - Arguments to
plugin_list. - Wire
Manifest - What a module says about itself at load time, read once from
plugin_manifest. This is why registration can read a directory rather than a config file: the module names itself. - Wire
PutRequest - Arguments to
plugin_put.
Constants§
- ABI_
VERSION - Bumped when the layout of anything in this module changes. The host refuses a module that reports a different number: a silently mismatched ABI decodes garbage into real fields, which is worse than not loading at all.
Functions§
- decode_
coordinate_ response - decode_
fetch_ response - decode_
http_ response - decode_
list_ response - decode_
store_ get - decode_
store_ listing - decode_
unit_ response - encode_
coordinate_ response - encode_
fetch_ response - encode_
http_ response - encode_
list_ response - encode_
store_ get - encode_
store_ listing - A
(key, size)listing row fromcrate::BlobStore::list. - encode_
unit_ response