pub enum TwoTierAvailability {
Full,
FastOnly,
HashOnly,
}Expand description
Availability classification for two-tier search.
Variants§
Full
Fast + quality embedders available.
FastOnly
Semantic fast embedder available, no quality tier.
HashOnly
Hash-only fallback path.
Implementations§
Source§impl TwoTierAvailability
impl TwoTierAvailability
Sourcepub const fn is_degraded(self) -> bool
pub const fn is_degraded(self) -> bool
Whether this availability level represents a degraded state.
Sourcepub const fn degradation_summary(self) -> Option<&'static str>
pub const fn degradation_summary(self) -> Option<&'static str>
Human-readable summary of what is missing at this availability level.
Trait Implementations§
Source§impl Clone for TwoTierAvailability
impl Clone for TwoTierAvailability
Source§fn clone(&self) -> TwoTierAvailability
fn clone(&self) -> TwoTierAvailability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TwoTierAvailability
impl Debug for TwoTierAvailability
Source§impl Display for TwoTierAvailability
impl Display for TwoTierAvailability
Source§impl PartialEq for TwoTierAvailability
impl PartialEq for TwoTierAvailability
Source§fn eq(&self, other: &TwoTierAvailability) -> bool
fn eq(&self, other: &TwoTierAvailability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TwoTierAvailability
impl Eq for TwoTierAvailability
impl StructuralPartialEq for TwoTierAvailability
Auto Trait Implementations§
impl Freeze for TwoTierAvailability
impl RefUnwindSafe for TwoTierAvailability
impl Send for TwoTierAvailability
impl Sync for TwoTierAvailability
impl Unpin for TwoTierAvailability
impl UnsafeUnpin for TwoTierAvailability
impl UnwindSafe for TwoTierAvailability
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).