Crate cold_io
Source - ConnectionId
- Proposal
- The proposal is the input to the state machine.
It provides timer, io, random number generator, and user-defined data.
- Proposer
- The proposer serves the state’s requests and provides network events to it.
- Request
- The proposer will perform requests sequentially.
First it setup source, then blacklists and then disconnect.
- ConnectionSource
- Choose how the proposer will listen incoming connections
- IoResult
- ProposalKind
- ReadOnce
- State
- The deterministic state machine.
It accepts proposals from network and issues requests.
All business logic should be implemented inside.
- WriteOnce