openraft 0.10.0-alpha.35

Advanced Raft consensus
Documentation
1
2
3
4
5
6
/// Orders pending reads by quorum-acknowledgement threshold and insertion sequence.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub(super) struct PendingReadKey<I> {
    pub(super) min_quorum_acked_at: I,
    pub(super) sequence: u64,
}