Struct fbas_analyzer::QuorumSet [−][src]
pub struct QuorumSet {
pub threshold: usize,
pub validators: Vec<NodeId>,
pub inner_quorum_sets: Vec<QuorumSet>,
}
Fields
threshold: usize
validators: Vec<NodeId>
inner_quorum_sets: Vec<QuorumSet>
Implementations
Whether some nodes appear more than once
Each valid quorum slice for this quorum set is a superset (i.e., equal to or a proper superset of) of at least one of the sets returned by this function.
pub fn into_pretty_quorum_set(
self,
fbas: &Fbas,
groupings: Option<&Groupings<'_>>
) -> PrettyQuorumSet
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for QuorumSet
impl UnwindSafe for QuorumSet
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.