pub(crate) fn iter_cannot_propose_idx(&self) -> impl Iterator<Item = ValidatorIndex> + '_ {
        self.iter()
            .enumerate()
            .filter(|(_, v)| !v.can_propose)
            .map(|(idx, _)| ValidatorIndex::from(idx as u32))
    }
/// Returns an iterator of all indices of validators that are not allowed to propose values.
Returns an iterator of all indices of validators that are not allowed to propose values.
Returns an iterator of all indices of validators that are not allowed to propose values .
pub(crate) fn iter_cannot_propose_idx(&self) -> impl Iterator<Item = ValidatorIndex> + '_ {
        self.iter()
            .enumerate()
            .filter(|(_, v)| !v.can_propose)
            .map(|(idx, _)| ValidatorIndex::from(idx as u32))
    }
pub ( crate ) fn iter_cannot_propose_idx ( & self ) -> impl Iterator < Item = ValidatorIndex > + ' _ { self . iter ( ) . enumerate ( ) . filter ( | ( _ , v ) | ! v . can_propose ) . map ( | ( idx , _ ) | ValidatorIndex :: from ( idx as u32 ) ) }
Returns an iterator of all indices of validators that are not allowed to propose values.
Returns an iterator of all indices of validators that are not allowed to propose values .
&self
&self