pub enum InjectionPolicy {
Required,
BestEffort,
}Expand description
The injection guarantee a Category::Note skill carries.
Required means the note is injected every turn — a guarantee about PRESENCE in the prompt, not about model compliance.
Variants§
Required
Permanent instruction: injected every turn, never ranked or truncated.
BestEffort
Remembered information: competes for the remaining budget.
Trait Implementations§
Source§impl Clone for InjectionPolicy
impl Clone for InjectionPolicy
impl Copy for InjectionPolicy
Source§impl Debug for InjectionPolicy
impl Debug for InjectionPolicy
impl Eq for InjectionPolicy
Source§impl PartialEq for InjectionPolicy
impl PartialEq for InjectionPolicy
impl StructuralPartialEq for InjectionPolicy
Auto Trait Implementations§
impl Freeze for InjectionPolicy
impl RefUnwindSafe for InjectionPolicy
impl Send for InjectionPolicy
impl Sync for InjectionPolicy
impl Unpin for InjectionPolicy
impl UnsafeUnpin for InjectionPolicy
impl UnwindSafe for InjectionPolicy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.