openraft 0.9.22

Advanced Raft consensus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(not(feature = "single-term-leader"))]
mod leader_id_adv;
#[cfg(feature = "single-term-leader")]
mod leader_id_std;

#[cfg(not(feature = "single-term-leader"))]
pub use leader_id_adv::CommittedLeaderId;
#[cfg(not(feature = "single-term-leader"))]
pub use leader_id_adv::LeaderId;
#[cfg(feature = "single-term-leader")]
pub use leader_id_std::CommittedLeaderId;
#[cfg(feature = "single-term-leader")]
pub use leader_id_std::LeaderId;

mod impl_into_leader_id;