/// Return all the possible labels for a record identified by Pubkey.
Return all the possible labels for a record identified by Pubkey.
Return all the possible labels for a record identified by Pubkey .
pub fn record_labels(key: &Pubkey) -> Vec<CrdsValueLabel> {
        let mut labels = vec![
            CrdsValueLabel::ContactInfo(*key),
            CrdsValueLabel::EpochSlots(*key),
        ];
        labels.extend((0..MAX_VOTES).map(|ix| CrdsValueLabel::Vote(ix, *key)));
        labels
    }
pub fn record_labels ( key : & Pubkey ) -> Vec < CrdsValueLabel > { let mut labels = vec ! [ CrdsValueLabel ContactInfo ( key ) CrdsValueLabel EpochSlots ( key ) ] ; labels . extend ( ( 0 .. MAX_VOTES ) . map ( | ix | CrdsValueLabel :: Vote ( ix , * key ) ) ) ; labels }
Return all the possible labels for a record identified by Pubkey.
Return all the possible labels for a record identified by Pubkey .
key
&Pubkey