pub enum TaintState {
Clean,
Tainted,
}Expand description
Whether untrusted content is in the conversation’s context at this gate decision.
The provenance (taint) input to grant derivation, computed from the durable seed OR the live transcript scan, never from the turn’s own output.
Variants§
Clean
No untrusted content in context.
Tainted
Untrusted content is in context: the granted set loses
TAINT_REVOKED except what the policy declares taint-resilient.
Trait Implementations§
Source§impl Clone for TaintState
impl Clone for TaintState
Source§fn clone(&self) -> TaintState
fn clone(&self) -> TaintState
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 moreimpl Copy for TaintState
Source§impl Debug for TaintState
impl Debug for TaintState
Source§impl Default for TaintState
impl Default for TaintState
Source§fn default() -> TaintState
fn default() -> TaintState
Returns the “default value” for a type. Read more
impl Eq for TaintState
Source§impl PartialEq for TaintState
impl PartialEq for TaintState
impl StructuralPartialEq for TaintState
Auto Trait Implementations§
impl Freeze for TaintState
impl RefUnwindSafe for TaintState
impl Send for TaintState
impl Sync for TaintState
impl Unpin for TaintState
impl UnsafeUnpin for TaintState
impl UnwindSafe for TaintState
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