Struct solana_runtime::accounts_cache::AccountsCache [−][src]
pub struct AccountsCache { /* fields omitted */ }
Implementations
pub fn store(
&self,
slot: Slot,
pubkey: &Pubkey,
account: AccountSharedData,
hash: Option<impl Borrow<Hash>>
) -> CachedAccount
pub fn remove_slots_le(&self, max_root: Slot) -> Vec<(Slot, SlotCache)>ⓘ
pub fn cached_frozen_slots(&self) -> Vec<Slot>ⓘ
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for AccountsCache
impl Send for AccountsCache
impl Sync for AccountsCache
impl Unpin for AccountsCache
impl !UnwindSafe for AccountsCache
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more