openraft 0.9.23

Advanced Raft consensus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! State machine worker and its supporting types.
//!
//! This worker runs in a separate task and is the only one that can mutate the state machine.
//! It is responsible for applying log entries, building/receiving snapshot  and sending responses
//! to the RaftCore.

pub(crate) mod command;
pub(crate) mod handle;
pub(crate) mod response;
pub(crate) mod worker;

pub(crate) use command::Command;
pub(crate) use command::CommandPayload;
#[allow(unused_imports)]
pub(crate) use command::CommandSeq;
pub(crate) use response::CommandResult;
pub(crate) use response::Response;