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

ContactInfo

Tuple Fields of ContactInfo

0: Pubkey
Vote

Tuple Fields of Vote

0: VoteIndex1: Pubkey
LowestSlot

Tuple Fields of LowestSlot

0: Pubkey
SnapshotHashes

Tuple Fields of SnapshotHashes

0: Pubkey
EpochSlots

Tuple Fields of EpochSlots

0: EpochSlotsIndex1: Pubkey
AccountsHashes

Tuple Fields of AccountsHashes

0: Pubkey
LegacyVersion

Tuple Fields of LegacyVersion

0: Pubkey
Version

Tuple Fields of Version

0: Pubkey
NodeInstance

Tuple Fields of NodeInstance

0: Pubkey
DuplicateShred

Tuple Fields of DuplicateShred

0: u161: Pubkey

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.