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.
- Logon
Sent - LogonSent state - Logon message sent, awaiting response.
- Logout
Pending - LogoutPending state - Logout sent, awaiting confirmation.
- Resending
- Resending state - processing a resend request.
- Session
- Session wrapper with typestate for compile-time state checking.
Traits§
- Session
State - Marker trait for session states.