Skip to main content

Module state

Module state 

Source
Expand description

Session state machine using the typestate pattern.

This module implements a compile-time checked state machine for FIX sessions. State transitions are enforced by the type system, preventing invalid operations.

Structs§

Active
Active state - session is fully established.
Connecting
Connecting state - TCP connection in progress.
Disconnected
Disconnected state - no connection established.
LogonSent
LogonSent state - Logon message sent, awaiting response.
LogoutPending
LogoutPending state - Logout sent, awaiting confirmation.
Resending
Resending state - processing a resend request.
Session
Session wrapper with typestate for compile-time state checking.

Traits§

SessionState
Marker trait for session states.