struct FlushScanResult<T> {
evictions_age_possible: Vec<(Pubkey, Arc<AccountMapEntryInner<T>>)>,
evictions_random: Vec<(Pubkey, Arc<AccountMapEntryInner<T>>)>,
}
Expand description
result from scanning in-mem index during flush
Fields§
§evictions_age_possible: Vec<(Pubkey, Arc<AccountMapEntryInner<T>>)>
pubkeys whose age indicates they may be evicted now, pending further checks.
evictions_random: Vec<(Pubkey, Arc<AccountMapEntryInner<T>>)>
pubkeys chosen to evict based on random eviction
Trait Implementations§
source§impl<T: Debug> Debug for FlushScanResult<T>
impl<T: Debug> Debug for FlushScanResult<T>
source§impl<T: Default> Default for FlushScanResult<T>
impl<T: Default> Default for FlushScanResult<T>
source§fn default() -> FlushScanResult<T>
fn default() -> FlushScanResult<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for FlushScanResult<T>
impl<T> Send for FlushScanResult<T>where T: Send + Sync,
impl<T> Sync for FlushScanResult<T>where T: Send + Sync,
impl<T> Unpin for FlushScanResult<T>
impl<T> UnwindSafe for FlushScanResult<T>
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