Enum solana_gossip::crds_value::CrdsData [−][src]
pub enum CrdsData {
ContactInfo(ContactInfo),
Vote(VoteIndex, Vote),
LowestSlot(u8, LowestSlot),
SnapshotHashes(SnapshotHashes),
AccountsHashes(SnapshotHashes),
EpochSlots(EpochSlotsIndex, EpochSlots),
LegacyVersion(LegacyVersion),
Version(Version),
NodeInstance(NodeInstance),
DuplicateShred(u16, DuplicateShred),
IncrementalSnapshotHashes(IncrementalSnapshotHashes),
}
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)
Tuple Fields
0: ContactInfo
Vote(VoteIndex, Vote)
LowestSlot(u8, LowestSlot)
SnapshotHashes(SnapshotHashes)
Tuple Fields
AccountsHashes(SnapshotHashes)
Tuple Fields
EpochSlots(EpochSlotsIndex, EpochSlots)
LegacyVersion(LegacyVersion)
Tuple Fields
Version(Version)
Tuple Fields
0: Version
NodeInstance(NodeInstance)
Tuple Fields
0: NodeInstance
DuplicateShred(u16, DuplicateShred)
IncrementalSnapshotHashes(IncrementalSnapshotHashes)
Tuple Fields
Trait Implementations
type Key = &'b CrdsValueLabel
fn get_entry(
table: &'a IndexMap<CrdsValueLabel, VersionedCrdsValue>,
key: Self::Key
) -> Option<Self>
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
impl<T> TupleTree<T, ()> for T
impl<T> TupleTree<T, ()> for T
pub const SIZE: Size
pub fn descendants(_indirect_level: usize) -> usize
pub fn preorder_with_size_hint(self, f: &mut impl FnMut(Visit<T>, Size))
pub fn postorder_with_size_hint(self, f: &mut impl FnMut(Visit<T>, Size))
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