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)
EpochSlots(EpochSlotsIndex, Pubkey)
DuplicateShred(u16, 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
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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
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