pub(crate) struct ShrinkCollectAliveSeparatedByRefs<'a> {
pub(crate) one_ref: AliveAccounts<'a>,
pub(crate) many_refs: AliveAccounts<'a>,
}
Expand description
separate pubkeys into those with a single refcount and those with > 1 refcount
Fields§
§one_ref: AliveAccounts<'a>
§many_refs: AliveAccounts<'a>
Trait Implementations§
source§impl<'a> Debug for ShrinkCollectAliveSeparatedByRefs<'a>
impl<'a> Debug for ShrinkCollectAliveSeparatedByRefs<'a>
source§impl<'a> ShrinkCollectRefs<'a> for ShrinkCollectAliveSeparatedByRefs<'a>
impl<'a> ShrinkCollectRefs<'a> for ShrinkCollectAliveSeparatedByRefs<'a>
fn collect(&mut self, other: Self)
fn with_capacity(capacity: usize, slot: Slot) -> 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>>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ShrinkCollectAliveSeparatedByRefs<'a>
impl<'a> Send for ShrinkCollectAliveSeparatedByRefs<'a>
impl<'a> Sync for ShrinkCollectAliveSeparatedByRefs<'a>
impl<'a> Unpin for ShrinkCollectAliveSeparatedByRefs<'a>
impl<'a> UnwindSafe for ShrinkCollectAliveSeparatedByRefs<'a>
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