Skip to main content

Module handshake

Module handshake 

Source
Expand description

MSP initialization handshake.

Structs§

Handshake
The pre-initialized connection state. Consuming initialize makes sending it twice unrepresentable through this API.
Initialized
A connection that completed the MSP initialization sequence.

Enums§

HandshakeError
Failure before the connection reaches the initialized state.
HandshakeRecoveryError
Notify-phase failure that preserves the accepted connection for retry/close.

Constants§

INITIALIZED_METHOD
Notification that completes the initialization sequence.
INITIALIZE_METHOD
The only request legal before initialization.

Traits§

HandshakeConnection
The request/notification subset the initialization state machine needs.

Type Aliases§

HandshakeFuture
Caller-runtime-owned future returned by the connection seam.