Expand description
Low-level framed connections, independent of the application protocol.
Structs§
- Cbor
Envelope Codec - Standard
{v,t,p}CBOR envelope with an open message namespace. - Client
- Cheap shared handle to one reader, writer, allocator, and set of subscriptions.
- Client
Error - Error with conservative delivery state. Diagnostics never include payloads.
- Client
Limits - Hard resource bounds for one framed connection.
- Connect
Options - Connection configuration. Builders have no I/O or background side effects.
- Encoded
Message - Already-encoded application payload, separate from the outer envelope.
- Established
- Successfully established transport and immutable protocol metadata.
- IdRange
- Nonzero ID range; the wider upper bound represents the entire u32 space.
- Local
Connector - Native local endpoint supplied by the caller’s existing endpoint helper.
- Message
- Decoded message with its original frame retained for unknown fields/forwarding.
- Outbound
Message - Complete envelope and flags, before the router assigns a correlation ID.
- RawFrame
- A frame with the binary header parsed but the body left untouched.
- RawStream
- Opaque frame stream whose lifetime retains its connection and ID lease.
- RawStream
Receiver - Sole consuming raw receiver. Dropping it disables sends and starts draining.
- RawStream
Sender - Cloneable send permission bound to one specific lease, not merely its number.
- Request
Options - Options for one request or stream-opening attempt.
- Send
Metadata - Protocol-generated envelope generation and frame flags.
- Stream
- Decoded message stream over the same opaque router and lease.
- Stream
Receiver - Sole decoded receiver; no competing reader is created by conversion/split.
- Stream
Sender - Cloneable native-message sender bound to an owned stream lease.
- Typed
Message - Native payload paired with an explicit wire name; this is not schema proof.
Enums§
- Delivery
- Whether this attempt crossed writer admission; never a retry instruction.
- Error
Kind - Transport/router failure, independent of application response errors.
Traits§
- Byte
Transport - Owned transport; reader and writer progress independently after splitting.
- Connector
- Opens independent transports, without negotiation or application parsing.
- Envelope
Codec - Envelope semantics chosen during setup. Raw routing never invokes this.
- Into
Outbound Message - Prepare a named message using one protocol’s availability gates and codec.
- Protocol
- Protocol-specific setup and message metadata, leaving routing to
Client. - Request
- Pair a prepared protocol request with checked terminal-response decoding.
Type Aliases§
- BoxFuture
- Owned Send future used at the public protocol/connector boundary.
- BoxTransport
- Erased byte transport for external protocol and connector implementations.
- Client
Result - Result shared by generic protocol and transport implementations.