pub struct StoreRange {
pub owner: u64,
pub lo: usize,
pub hi: usize,
}Expand description
2026-09-25: The interval of mtp_prefill_hidden rows written, and the
sequence ticket that wrote them. The buffer is model-level and indexed by
absolute position, so the interval alone cannot say whose rows it holds.
Owner 0 never matches: it marks an unclaimed range, and it is the ticket of
a SequenceState not built by the model’s alloc_sequence, which draws
tickets from 1.
Fields§
§owner: u642026-09-25: The writer’s ticket (SequenceState::mtp_store_gen); 0
means unclaimed.
lo: usize2026-09-25: First absolute position written.
hi: usize2026-09-25: One past the last absolute position written.
Implementations§
Source§impl StoreRange
impl StoreRange
Sourcepub fn visible_to(self, reader_gen: u64) -> (usize, usize)
pub fn visible_to(self, reader_gen: u64) -> (usize, usize)
2026-09-25: The interval reader_gen may read, or (0, 0) when the
rows belong to another ticket or reader_gen is 0. plan_append
refuses (0, 0) like any interval that does not cover its span.
Trait Implementations§
Source§impl Clone for StoreRange
impl Clone for StoreRange
Source§fn clone(&self) -> StoreRange
fn clone(&self) -> StoreRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreRange
impl Debug for StoreRange
Source§impl PartialEq for StoreRange
impl PartialEq for StoreRange
impl Copy for StoreRange
impl Eq for StoreRange
impl StructuralPartialEq for StoreRange
Auto Trait Implementations§
impl Freeze for StoreRange
impl RefUnwindSafe for StoreRange
impl Send for StoreRange
impl Sync for StoreRange
impl Unpin for StoreRange
impl UnwindSafe for StoreRange
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.