pub async fn serve_consensus(port: u16, state: ConsensusState) -> ResultExpand description
Run a turmoil consensus server.
Intended to be used as the host logic passed to turmoil::Sim::host.
pub async fn serve_consensus(port: u16, state: ConsensusState) -> ResultRun a turmoil consensus server.
Intended to be used as the host logic passed to turmoil::Sim::host.