struct LoadAccountsIndexForShrink<'a, T: ShrinkCollectRefs<'a>> {
alive_accounts: T,
unrefed_pubkeys: Vec<&'a Pubkey>,
all_are_zero_lamports: bool,
index_entries_being_shrunk: Vec<Arc<AccountMapEntryInner<AccountInfo>>>,
}
Fields§
§alive_accounts: T
all alive accounts
unrefed_pubkeys: Vec<&'a Pubkey>
pubkeys that were unref’d in the accounts index because they were dead
all_are_zero_lamports: bool
true if all alive accounts are zero lamport accounts
index_entries_being_shrunk: Vec<Arc<AccountMapEntryInner<AccountInfo>>>
index entries we need to hold onto to keep them from getting flushed
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for LoadAccountsIndexForShrink<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for LoadAccountsIndexForShrink<'a, T>
impl<'a, T> Sync for LoadAccountsIndexForShrink<'a, T>
impl<'a, T> Unpin for LoadAccountsIndexForShrink<'a, T>where T: Unpin,
impl<'a, T> UnwindSafe for LoadAccountsIndexForShrink<'a, T>where T: UnwindSafe,
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