// returns the rooted entries and the storage ref count
returns the rooted entries and the storage ref count
returns the rooted entries and the storage ref count
pub fn would_purge(&self, pubkey: &Pubkey) -> (SlotList<T>, RefCount) {
        let (ref_count, slots_list) = self.account_maps.get(&pubkey).unwrap();
        let slots_list_r = &slots_list.read().unwrap();
        (
            self.get_rooted_entries(&slots_list_r),
            ref_count.load(Ordering::Relaxed),
        )
    }
pub fn would_purge ( & self , pubkey : & Pubkey ) -> ( SlotList < T > , RefCount ) { let ( ref_count , slots_list ) = self . account_maps . get ( & pubkey ) . unwrap ( ) ; let slots_list_r = & slots_list . read ( ) . unwrap ( ) ; ( self . get_rooted_entries ( & slots_list_r ) , ref_count . load ( Ordering :: Relaxed ) , ) }
returns the rooted entries and the storage ref count
returns the rooted entries and the storage ref count
&self
pubkey
&Pubkey