pub struct WritePlan {
pub slot: u32,
pub flush_victim: Option<(GroupKey, u32)>,
}Expand description
2026-09-25: The slot to write a group into and, when a resident group was evicted for it, that victim and its slot. The victim’s bytes stay in the slot until the caller overwrites it.
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
Checks if this value is equivalent to the given key. Read more
§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.