pub fn check_validator_registrations<'a>(
        &self,
        mut public_keys: impl Iterator<Item = &'a PublicKeyBytes>,
    ) -> Result<(), NotSafe> {
        let mut conn = self.conn_pool.get()?;
        let txn = conn.transaction()?;
        public_keys
            .try_for_each(|public_key| self.get_validator_id_in_txn(&txn, public_key).map(|_| ()))
    }
/// Check that all of the given validators are registered.
Check that all of the given validators are registered.
Check that all of the given validators are registered .
pub fn check_validator_registrations<'a>(
        &self,
        mut public_keys: impl Iterator<Item = &'a PublicKeyBytes>,
    ) -> Result<(), NotSafe> {
        let mut conn = self.conn_pool.get()?;
        let txn = conn.transaction()?;
        public_keys
            .try_for_each(|public_key| self.get_validator_id_in_txn(&txn, public_key).map(|_| ()))
    }
pub fn check_validator_registrations < ' a > ( & self , mut public_keys : impl Iterator < Item = & ' a PublicKeyBytes > , ) -> Result < ( ) , NotSafe > { let mut conn = self . conn_pool . get ( ) ? ; let txn = conn . transaction ( ) ? ; public_keys . try_for_each ( | public_key | self . get_validator_id_in_txn ( & txn , public_key ) . map ( | _ | ( ) ) ) }
Check that all of the given validators are registered.
Check that all of the given validators are registered .
&self
public_keys
impl Iterator<Item = &'a PublicKeyBytes>