Expand description
Socket configuration.
§Reconnection Strategy
The default configuration uses unlimited reconnection attempts (reconnect_max_attempts: None).
This is intentional for trading systems because:
- Venues may be down for extended periods but eventually recover.
- Exponential backoff already prevents resource waste.
- Automatic recovery can be useful when manual intervention is not desirable.
Use Some(n) primarily for testing, development, or non-critical connections.
Structs§
- Socket
Config - Configuration for TCP socket connection.