pub fn one_node_quorums(&self) -> Vec<NodeId> {
        let mut nodes = vec![];
        for (node_id, node) in self.nodes.iter().enumerate() {
            if node.quorum_set.is_quorum_slice(&bitset![node_id]) {
                nodes.push(node_id);
            }
        }
        nodes
    }
/// Returns all nodes v for which {v} is a quorum slice (and hence a quorum).
/// These are often nodes that are somehow broken.
Returns all nodes v for which {v} is a quorum slice (and hence a quorum).
These are often nodes that are somehow broken.
Returns all nodes v for which { v } is a quorum slice ( and hence a quorum ) . These are often nodes that are somehow broken .
pub fn one_node_quorums(&self) -> Vec<NodeId> {
        let mut nodes = vec![];
        for (node_id, node) in self.nodes.iter().enumerate() {
            if node.quorum_set.is_quorum_slice(&bitset![node_id]) {
                nodes.push(node_id);
            }
        }
        nodes
    }
pub fn one_node_quorums ( & self ) -> Vec < NodeId > { let mut nodes = vec ! [ ] ; for ( node_id , node ) in self . nodes . iter ( ) . enumerate ( ) { if node . quorum_set . is_quorum_slice ( & bitset ! [ node_id ] ) { nodes . push ( node_id ) ; } } nodes }
Returns all nodes v for which {v} is a quorum slice (and hence a quorum).
Returns all nodes v for which { v } is a quorum slice ( and hence a quorum ) .
&self
&self