Struct solana_runtime::snapshot_hash::FullSnapshotHash
source · [−]pub struct FullSnapshotHash {
pub hash: (Slot, Hash),
}
Expand description
Used by SnapshotPackagerService and SnapshotGossipManager, this struct adds type safety to ensure a full snapshot hash is pushed to the right CRDS.
Fields
hash: (Slot, Hash)
Trait Implementations
sourceimpl Clone for FullSnapshotHash
impl Clone for FullSnapshotHash
sourcefn clone(&self) -> FullSnapshotHash
fn clone(&self) -> FullSnapshotHash
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FullSnapshotHash
impl Debug for FullSnapshotHash
sourceimpl Default for FullSnapshotHash
impl Default for FullSnapshotHash
sourcefn default() -> FullSnapshotHash
fn default() -> FullSnapshotHash
Returns the “default value” for a type. Read more
sourceimpl PartialEq<FullSnapshotHash> for FullSnapshotHash
impl PartialEq<FullSnapshotHash> for FullSnapshotHash
sourcefn eq(&self, other: &FullSnapshotHash) -> bool
fn eq(&self, other: &FullSnapshotHash) -> bool
impl Copy for FullSnapshotHash
impl Eq for FullSnapshotHash
impl StructuralEq for FullSnapshotHash
impl StructuralPartialEq for FullSnapshotHash
Auto Trait Implementations
impl RefUnwindSafe for FullSnapshotHash
impl Send for FullSnapshotHash
impl Sync for FullSnapshotHash
impl Unpin for FullSnapshotHash
impl UnwindSafe for FullSnapshotHash
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.