pub enum StoredAccountMeta<'storage> {
AppendVec(AppendVecStoredAccountMeta<'storage>),
Hot(HotAccount<'storage, HotAccountMeta>),
}
Expand description
References to account data stored elsewhere. Getting an Account
requires cloning
(see StoredAccountMeta::clone_account()
).
Variants§
AppendVec(AppendVecStoredAccountMeta<'storage>)
Hot(HotAccount<'storage, HotAccountMeta>)
Implementations§
Source§impl<'storage> StoredAccountMeta<'storage>
impl<'storage> StoredAccountMeta<'storage>
Trait Implementations§
Source§impl<'storage> Debug for StoredAccountMeta<'storage>
impl<'storage> Debug for StoredAccountMeta<'storage>
Source§impl<'a> From<&'a StoredAccountMeta<'a>> for AccountForStorage<'a>
impl<'a> From<&'a StoredAccountMeta<'a>> for AccountForStorage<'a>
Source§fn from(source: &'a StoredAccountMeta<'a>) -> Self
fn from(source: &'a StoredAccountMeta<'a>) -> Self
Converts to this type from the input type.
Source§impl<'storage> PartialEq for StoredAccountMeta<'storage>
impl<'storage> PartialEq for StoredAccountMeta<'storage>
Source§impl<'storage> ReadableAccount for StoredAccountMeta<'storage>
impl<'storage> ReadableAccount for StoredAccountMeta<'storage>
Source§impl<'a> ZeroLamport for StoredAccountMeta<'a>
impl<'a> ZeroLamport for StoredAccountMeta<'a>
fn is_zero_lamport(&self) -> bool
impl<'storage> Eq for StoredAccountMeta<'storage>
impl<'storage> StructuralPartialEq for StoredAccountMeta<'storage>
Auto Trait Implementations§
impl<'storage> Freeze for StoredAccountMeta<'storage>
impl<'storage> RefUnwindSafe for StoredAccountMeta<'storage>
impl<'storage> Send for StoredAccountMeta<'storage>
impl<'storage> Sync for StoredAccountMeta<'storage>
impl<'storage> Unpin for StoredAccountMeta<'storage>
impl<'storage> UnwindSafe for StoredAccountMeta<'storage>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more