Struct solana_accounts_db::tiered_storage::index::IndexOffset
source · #[repr(C)]pub struct IndexOffset(pub u32);
Expand description
The offset to an account/address entry in the accounts index block. This can be used to obtain the AccountOffset and address by looking through the accounts index block.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for IndexOffset
impl Clone for IndexOffset
source§fn clone(&self) -> IndexOffset
fn clone(&self) -> IndexOffset
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 IndexOffset
impl Debug for IndexOffset
source§impl PartialEq for IndexOffset
impl PartialEq for IndexOffset
source§fn eq(&self, other: &IndexOffset) -> bool
fn eq(&self, other: &IndexOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IndexOffset
impl Eq for IndexOffset
impl Pod for IndexOffset
impl StructuralPartialEq for IndexOffset
Auto Trait Implementations§
impl RefUnwindSafe for IndexOffset
impl Send for IndexOffset
impl Sync for IndexOffset
impl Unpin for IndexOffset
impl UnwindSafe for IndexOffset
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.