Crate raftify

Source

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§

cluster_join_ticket
raft_node
raft_service

Structs§

Channel
A default batteries included transport channel.
ConfChangeRequest
Config
ConfigBuilder
CustomFormatter
HeedStorage
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.
RaftConfig
Config contains the parameters to start a raft.
TlsConfig

Enums§

Error
StorageType

Traits§

AbstractLogEntry
AbstractStateMachine
StableStorage

Functions§

create_client
load_configs

Type Aliases§

Result

Attribute Macros§

async_trait