Skip to main content

Module control

Module control 

Source
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§

ChallengeResponse
Auth handshake: client → server response to a TransportResponse::Challenge.
ConnectionId
Connection identifier assigned by the server.
RequestId
A request’s identifier, chosen by the client that sent it.

Enums§

RefusalKind
Why the application’s decoder refused a request, as a Refused frame says.
TransportResponse
Transport-level response frames that the server runtime encodes directly, bypassing the application’s ResponseEncoder trait.

Constants§

MAX_REFUSAL_REASON
The longest refusal reason a Refused frame carries, in bytes: its length goes on the wire as one byte.