Re-exports§
pub use crate::cluster_join_ticket::ClusterJoinTicket;
pub use crate::raft_node::role::InitialRole;
pub use crate::raft_node::utils::format_debugging_info;
pub use crate::raft_node::RaftNode;
pub use crate::raft_service::raft_service_client::RaftServiceClient;
pub use bincode;
pub use raft;
pub use tonic;
Modules§
Structs§
- Channel
- A default batteries included
transport
channel. - Conf
Change Request - Config
- Config
Builder - Custom
Formatter - Heed
Storage - Peer
- Peers
- Raft
- This structure contains functions required for Raft bootstrap along with RaftNode and RaftServer instances. The bootstrap function returns an instance of the Raft type that deref to RaftNode type, allowing the use of functions necessary for interaction with the cluster.
- Raft
Config - Config contains the parameters to start a raft.
- TlsConfig