Struct solana_runtime::append_vec::StoredMeta
source · [−]pub struct StoredMeta {
pub write_version: StoredMetaWriteVersion,
pub pubkey: Pubkey,
pub data_len: u64,
}
Expand description
Meta contains enough context to recover the index from storage itself This struct will be backed by mmaped and snapshotted data files. So the data layout must be stable and consistent across the entire cluster!
Fields
write_version: StoredMetaWriteVersion
global write version
pubkey: Pubkey
key for the account
data_len: u64
Trait Implementations
sourceimpl Clone for StoredMeta
impl Clone for StoredMeta
sourcefn clone(&self) -> StoredMeta
fn clone(&self) -> StoredMeta
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 StoredMeta
impl Debug for StoredMeta
sourceimpl PartialEq<StoredMeta> for StoredMeta
impl PartialEq<StoredMeta> for StoredMeta
sourcefn eq(&self, other: &StoredMeta) -> bool
fn eq(&self, other: &StoredMeta) -> bool
impl StructuralPartialEq for StoredMeta
Auto Trait Implementations
impl RefUnwindSafe for StoredMeta
impl Send for StoredMeta
impl Sync for StoredMeta
impl Unpin for StoredMeta
impl UnwindSafe for StoredMeta
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