Trait solana_runtime::accounts_db::ShrinkCollectRefs
source · pub(crate) trait ShrinkCollectRefs<'a>: Sync + Send {
// Required methods
fn with_capacity(capacity: usize, slot: Slot) -> Self;
fn collect(&mut self, other: Self);
fn add(&mut self, ref_count: u64, account: &'a StoredAccountMeta<'a>);
fn len(&self) -> usize;
fn alive_bytes(&self) -> usize;
fn alive_accounts(&self) -> &Vec<&'a StoredAccountMeta<'a>>;
}