pub enum SearchBranch {
Strict,
Relaxed,
}Expand description
Which branch of the adaptive text-search policy produced a given result
set or was used to construct a given CompiledSearch.
Phase 3 runs the strict branch first, then conditionally runs a relaxed
branch derived from the same user query (see
crate::derive_relaxed). The coordinator tags each in-flight branch
with this enum so that merge, dedup, and counts stay straightforward.
Variants§
Strict
The strict branch: the user’s query as written.
Relaxed
The relaxed fallback branch derived from the strict query.
Trait Implementations§
Source§impl Clone for SearchBranch
impl Clone for SearchBranch
Source§fn clone(&self) -> SearchBranch
fn clone(&self) -> SearchBranch
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 SearchBranch
impl Debug for SearchBranch
Source§impl PartialEq for SearchBranch
impl PartialEq for SearchBranch
impl Copy for SearchBranch
impl Eq for SearchBranch
impl StructuralPartialEq for SearchBranch
Auto Trait Implementations§
impl Freeze for SearchBranch
impl RefUnwindSafe for SearchBranch
impl Send for SearchBranch
impl Sync for SearchBranch
impl Unpin for SearchBranch
impl UnsafeUnpin for SearchBranch
impl UnwindSafe for SearchBranch
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