Enum solana_gossip::crds_value::CrdsData [−][src]
pub enum CrdsData { ContactInfo(ContactInfo), Vote(VoteIndex, Vote), LowestSlot(u8, LowestSlot), SnapshotHashes(SnapshotHash), AccountsHashes(SnapshotHash), EpochSlots(EpochSlotsIndex, EpochSlots), LegacyVersion(LegacyVersion), Version(Version), NodeInstance(NodeInstance), DuplicateShred(u16, DuplicateShred), }
Expand description
CrdsData that defines the different types of items CrdsValues can hold
- Merge Strategy - Latest wallclock is picked
- LowestSlot index is deprecated
Variants
ContactInfo(ContactInfo)
LowestSlot(u8, LowestSlot)
SnapshotHashes(SnapshotHash)
AccountsHashes(SnapshotHash)
EpochSlots(EpochSlotsIndex, EpochSlots)
LegacyVersion(LegacyVersion)
Version(Version)
NodeInstance(NodeInstance)
DuplicateShred(u16, DuplicateShred)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CrdsData
impl UnwindSafe for CrdsData
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
[src]pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
[src]Mutably borrows from an owned value. Read more
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