#[repr(C)]pub struct CalculateHashIntermediate {
pub hash: Hash,
pub lamports: u64,
pub pubkey: Pubkey,
}Expand description
While scanning appendvecs, this is the info that needs to be extracted, de-duped, and sorted from what is stored in an append vec. Note this can be saved/loaded during hash calculation to a memory mapped file whose contents are CalculateHashIntermediate
Fields§
§hash: Hash§lamports: u64§pubkey: PubkeyImplementations§
Trait Implementations§
source§impl Clone for CalculateHashIntermediate
impl Clone for CalculateHashIntermediate
source§fn clone(&self) -> CalculateHashIntermediate
fn clone(&self) -> CalculateHashIntermediate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CalculateHashIntermediate
impl Debug for CalculateHashIntermediate
source§impl Default for CalculateHashIntermediate
impl Default for CalculateHashIntermediate
source§fn default() -> CalculateHashIntermediate
fn default() -> CalculateHashIntermediate
Returns the “default value” for a type. Read more
source§impl PartialEq<CalculateHashIntermediate> for CalculateHashIntermediate
impl PartialEq<CalculateHashIntermediate> for CalculateHashIntermediate
source§fn eq(&self, other: &CalculateHashIntermediate) -> bool
fn eq(&self, other: &CalculateHashIntermediate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CalculateHashIntermediate
impl StructuralEq for CalculateHashIntermediate
impl StructuralPartialEq for CalculateHashIntermediate
Auto Trait Implementations§
impl RefUnwindSafe for CalculateHashIntermediate
impl Send for CalculateHashIntermediate
impl Sync for CalculateHashIntermediate
impl Unpin for CalculateHashIntermediate
impl UnwindSafe for CalculateHashIntermediate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.