Expand description
Opt-in, descriptor-checked native adapters. Generated adapters are separate files: applications include them in the modules that own their native API.
Structs§
- Adapter
Config - Opt-in, descriptor-checked adapter declarations.
- Adapter
Error - Fixed adapter failure. Input names, paths and bytes are never retained.
- Borrowed
Adapter - Lifetime-bearing adapter. It deliberately has no derived diagnostics.
- Capability
Port - Process-local capability supplied by the application, never serialized.
- Closed
Selector - Closed native enum; zero and unknown values always fail conversion.
- Error
Mapping - Domain error construction using paths only, never expressions or messages.
- Field
Source - A declared schema field reached through singular message fields.
- Legacy
Selector - Additional legacy wire enum accepted by a closed selector.
- Normalization
- Explicit normalization of a legacy value to an existing canonical case.
- Payload
Field - One payload field and its checked representation.
- Payload
Selector - Copy enum combining a selector with an explicitly validated native value.
- Payload
Variant - Native case covering one or more authoritative descriptor alternatives.
- Selector
Variant - A nonzero canonical selector case.
- Wire
Enum - Descriptor enum and its already-generated Rust wire type.
Enums§
- Borrowed
Source - Authoritative cases for a borrowed adapter.
- Error
Reason - Deterministic, allocation-free reason for rejecting adapter metadata.
- Payload
- Shape of one native enum alternative.
- Payload
Type - Restricted representation of a payload field.
Constants§
- MAX_
MANIFEST_ BYTES - Maximum encoded size of an adapter manifest (1 MiB).
Functions§
- generate_
adapters - Generate standalone native adapter files, validating complete coverage first.