pub trait OrderedExt<P> {
// Required methods
fn quorum(&self) -> u32;
fn max_faults(&self) -> u32;
fn key(&self, index: u32) -> Option<&P>;
fn index(&self, key: &P) -> Option<u32>;
}Expand description
Extension trait for Ordered participant sets providing quorum and index utilities.
Required Methods§
Sourcefn max_faults(&self) -> u32
fn max_faults(&self) -> u32
Returns the maximum number of faults (f) tolerated by this participant set.