Expand description
Cross-target streaming consumer types.
Extracted from streaming.rs (native-only) so that StreamHandleImpl<T>
can compile on both native and wasm32. All types here are pure logic —
no ZMQ, no Tokio, no platform-specific deps.
StreamPayload— parsed output from verified stream blocksStreamVerifier— HMAC chain verifier (pure crypto)StreamHandleImpl<T>— unified stream consumer over anyTransport
Structs§
- Stream
Handle Impl - E2E authenticated stream consumer, generic over transport.
- Stream
Verifier - HMAC chain verifier for StreamBlock.
- Verifier
Contract - The consumer’s slice of the stream’s API contract (#213), set from the service’s
$streamQosvia codegen (#217) — NOT from the wire, so it can’t be downgraded.
Enums§
- Completion
- Consumer-side truncation contract (#163/#213). Maps to the schema
Completionaxis (schemanone→Open). - Stream
Ordering - Consumer-side ordering contract (#163/#213). The full
StreamOpt(schema) carries producer-side QoS too (delivery/retention/overflow); the consumer only needs ordering - Stream
Payload - Output payload from StreamVerifier.
Traits§
- Stream
Handle - Object-safe stream handle for dynamic dispatch.