Enum solana_gossip::crds_value::CrdsValueLabel [−][src]
pub enum CrdsValueLabel {
ContactInfo(Pubkey),
Vote(VoteIndex, Pubkey),
LowestSlot(Pubkey),
SnapshotHashes(Pubkey),
EpochSlots(EpochSlotsIndex, Pubkey),
AccountsHashes(Pubkey),
LegacyVersion(Pubkey),
Version(Pubkey),
NodeInstance(Pubkey),
DuplicateShred(u16, Pubkey),
}
Expand description
Type of the replicated value
These are labels for values in a record that is associated with Pubkey
Variants
Vote(VoteIndex, Pubkey)
Tuple Fields of Vote
0: VoteIndex
1: Pubkey
EpochSlots(EpochSlotsIndex, Pubkey)
Tuple Fields of EpochSlots
0: EpochSlotsIndex
1: Pubkey
DuplicateShred(u16, Pubkey)
Tuple Fields of DuplicateShred
0: u16
1: Pubkey
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CrdsValueLabel
impl Send for CrdsValueLabel
impl Sync for CrdsValueLabel
impl Unpin for CrdsValueLabel
impl UnwindSafe for CrdsValueLabel
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more