pub struct WritePlan {
pub slot: u32,
pub flush_victim: Option<(GroupKey, u32)>,
}Expand description
Result of planning a T1 write: the slot to write key into, and — if a
resident group had to be evicted to make room — the victim to flush DOWN to
the backing tier first (its bytes still occupy slot until overwritten).
Fields§
§slot: u32§flush_victim: Option<(GroupKey, u32)>Trait Implementations§
impl Copy for WritePlan
impl Eq for WritePlan
impl StructuralPartialEq for WritePlan
Auto Trait Implementations§
impl Freeze for WritePlan
impl RefUnwindSafe for WritePlan
impl Send for WritePlan
impl Sync for WritePlan
impl Unpin for WritePlan
impl UnwindSafe for WritePlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.