#[repr(u8)]pub enum ResponseQuality {
Verified = 0,
Usable = 1,
Degraded = 2,
Unreliable = 3,
}Expand description
Response-level quality signal returned to the caller at the API boundary.
This is the field that consumers (RAG pipelines, agent tool chains, MCP clients) must inspect before using results.
Variants§
Verified = 0
All results from full index. Trust fully.
Usable = 1
Results from partial index. Usable but may miss neighbors.
Degraded = 2
Degraded retrieval detected. Results are best-effort.
Unreliable = 3
Insufficient candidates found. Results are unreliable.
Trait Implementations§
Source§impl Clone for ResponseQuality
impl Clone for ResponseQuality
Source§fn clone(&self) -> ResponseQuality
fn clone(&self) -> ResponseQuality
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 ResponseQuality
impl Debug for ResponseQuality
Source§impl Hash for ResponseQuality
impl Hash for ResponseQuality
Source§impl Ord for ResponseQuality
impl Ord for ResponseQuality
Source§fn cmp(&self, other: &ResponseQuality) -> Ordering
fn cmp(&self, other: &ResponseQuality) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResponseQuality
impl PartialEq for ResponseQuality
Source§impl PartialOrd for ResponseQuality
impl PartialOrd for ResponseQuality
impl Copy for ResponseQuality
impl Eq for ResponseQuality
impl StructuralPartialEq for ResponseQuality
Auto Trait Implementations§
impl Freeze for ResponseQuality
impl RefUnwindSafe for ResponseQuality
impl Send for ResponseQuality
impl Sync for ResponseQuality
impl Unpin for ResponseQuality
impl UnsafeUnpin for ResponseQuality
impl UnwindSafe for ResponseQuality
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