Crate cold_io

Source

Structs§

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.

Enums§

ConnectionSource
Choose how the proposer will listen incoming connections
IoResult
ProposalKind

Traits§

ReadOnce
State
The deterministic state machine. It accepts proposals from network and issues requests. All business logic should be implemented inside.
WriteOnce