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
Tuple Fields of Vote
0: VoteIndex
1: Pubkey
Tuple Fields of EpochSlots
0: EpochSlotsIndex
1: 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.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
type Output = T
type Output = T
Should always be Self