pub enum ContextInjectionMode {
SchemaOnly,
}Expand description
Which normalized semantic context is embedded into emitted agent prompts.
This is a source-neutral runtime binding choice, not a context-provider identifier, component
identity, or IR control flow. The payload carries a deterministic schema digest derived from
the IR’s resolved context and nothing else: the dispatcher never reads the bound project, and
no mode embeds host-supplied business rules. There is no flag: the mode is not a caller’s
choice, and the type exists because ContextInjectionMode::as_str is what names the injected
facet in the emitted prompt and the context report.
Variants§
SchemaOnly
Implementations§
Trait Implementations§
Source§impl Clone for ContextInjectionMode
impl Clone for ContextInjectionMode
impl Copy for ContextInjectionMode
Source§impl Debug for ContextInjectionMode
impl Debug for ContextInjectionMode
impl Eq for ContextInjectionMode
Source§impl PartialEq for ContextInjectionMode
impl PartialEq for ContextInjectionMode
Source§impl Serialize for ContextInjectionMode
impl Serialize for ContextInjectionMode
impl StructuralPartialEq for ContextInjectionMode
Auto Trait Implementations§
impl Freeze for ContextInjectionMode
impl RefUnwindSafe for ContextInjectionMode
impl Send for ContextInjectionMode
impl Sync for ContextInjectionMode
impl Unpin for ContextInjectionMode
impl UnsafeUnpin for ContextInjectionMode
impl UnwindSafe for ContextInjectionMode
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<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.