Expand description
Stable contracts for protocol adapters that translate external protocol payloads into canonical Assay evidence events.
Structs§
- Adapter
Batch - Batch conversion result emitted by an adapter.
- Adapter
Capabilities - Capabilities exposed by the adapter for review and routing.
- Adapter
Descriptor - Stable adapter implementation metadata exposed by each adapter.
- Adapter
Error - Stable adapter error surface.
- Adapter
Input - Raw protocol input supplied to an adapter.
- Convert
Options - Conversion options shared by all adapters.
- Lossiness
Report - Explicit accounting for translation loss.
- Protocol
Descriptor - Stable protocol metadata exposed by each adapter.
- RawPayload
Ref - Digest-backed reference to a preserved raw payload.
Enums§
- Adapter
Error Kind - Error category for adapter failures.
- Convert
Mode - Conversion strictness for protocol translation.
- Lossiness
Level - Lossiness classification for a conversion result.
Traits§
- Attachment
Writer - Host-provided interface for preserving raw protocol payloads.
- Protocol
Adapter - Stable contract implemented by protocol-specific adapters.
Functions§
- canonical_
bytes - Serialize any serde value into canonical JSON bytes.
- canonical_
json_ bytes - Serialize a JSON value into deterministic canonical bytes.
- digest_
canonical_ json - Compute a SHA-256 digest over canonical JSON bytes.
- validate_
json_ shape - Enforce shared JSON shape limits for adapter inputs.
Type Aliases§
- Adapter
Result - Result type for adapter operations.