#[repr(C)]pub struct CalculateHashIntermediate {
pub hash: AccountHash,
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: AccountHash
§lamports: u64
§pubkey: Pubkey
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 PartialEq for CalculateHashIntermediate
impl PartialEq 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 Copy for CalculateHashIntermediate
impl Eq for CalculateHashIntermediate
impl Pod 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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.