pub enum HeadVerdict {
Candidate {
head: Range<usize>,
},
Skip,
}Expand description
Per-key visibility verdict for a head walk: the head term’s byte range within the key, or “not visible”.
Identity questions — run boundaries, distinct-slot counting, skip-seek construction — compare or copy these bytes directly; callers that need the term as a value decode it once, at emission, from the region (or from a saved copy of it). Encoded terms are canonical and self- delimiting, so region equality is term equality.
Variants§
Candidate
Visible candidate; head locates the encoded term inside key.
Skip
Not visible: future ts, older version, Delete, G-reject, IRI-reject.
Trait Implementations§
Source§impl Clone for HeadVerdict
impl Clone for HeadVerdict
Source§fn clone(&self) -> HeadVerdict
fn clone(&self) -> HeadVerdict
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 HeadVerdict
impl Debug for HeadVerdict
Source§impl PartialEq for HeadVerdict
impl PartialEq for HeadVerdict
impl Eq for HeadVerdict
impl StructuralPartialEq for HeadVerdict
Auto Trait Implementations§
impl Freeze for HeadVerdict
impl RefUnwindSafe for HeadVerdict
impl Send for HeadVerdict
impl Sync for HeadVerdict
impl Unpin for HeadVerdict
impl UnsafeUnpin for HeadVerdict
impl UnwindSafe for HeadVerdict
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