Expand description
Transport-level control types shared between the server runtime and the application-specific protocol crate. These are domain-free: they exist for connection management, auth handshakes, and pipeline control — not for business messages.
Structs§
- Challenge
Response - Auth handshake: client → server response to a
TransportResponse::Challenge. - Connection
Id - Connection identifier assigned by the server.
- Request
Id - A request’s identifier, chosen by the client that sent it.
Enums§
- Refusal
Kind - Why the application’s decoder refused a request, as a
Refusedframe says. - Transport
Response - Transport-level response frames that the server runtime encodes
directly, bypassing the application’s
ResponseEncodertrait.
Constants§
- MAX_
REFUSAL_ REASON - The longest refusal reason a
Refusedframe carries, in bytes: its length goes on the wire as one byte.