pub enum ExclusionReason {
Contradiction,
Staleness,
ScopeMismatch,
TokenBudget,
RedactionPolicy,
CurrentIntent,
Other,
}Expand description
Why a candidate ref was omitted from a context pack.
Variants§
Contradiction
Omitted because it conflicts with selected or current intent.
Staleness
Omitted because it is stale for this task.
ScopeMismatch
Omitted because it is outside task scope.
TokenBudget
Omitted to preserve the requested token budget.
RedactionPolicy
Omitted by redaction/privacy policy.
CurrentIntent
Omitted because current operator intent overrides historical pressure.
Other
Omitted for another explicitly recorded reason.
Trait Implementations§
Source§impl Clone for ExclusionReason
impl Clone for ExclusionReason
Source§fn clone(&self) -> ExclusionReason
fn clone(&self) -> ExclusionReason
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 ExclusionReason
impl Debug for ExclusionReason
Source§impl<'de> Deserialize<'de> for ExclusionReason
impl<'de> Deserialize<'de> for ExclusionReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExclusionReason
impl PartialEq for ExclusionReason
Source§fn eq(&self, other: &ExclusionReason) -> bool
fn eq(&self, other: &ExclusionReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExclusionReason
impl Serialize for ExclusionReason
impl Copy for ExclusionReason
impl Eq for ExclusionReason
impl StructuralPartialEq for ExclusionReason
Auto Trait Implementations§
impl Freeze for ExclusionReason
impl RefUnwindSafe for ExclusionReason
impl Send for ExclusionReason
impl Sync for ExclusionReason
impl Unpin for ExclusionReason
impl UnsafeUnpin for ExclusionReason
impl UnwindSafe for ExclusionReason
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