pub enum TaintSource {
UserInput,
ToolOutput(String),
LlmGenerated,
ExternalApi(String),
FileSystem(String),
Environment,
}Expand description
Where a piece of data originated — every tainted move has an origin story.
Variants§
UserInput
Data entered directly by a human operator.
ToolOutput(String)
Output from a tool (move) execution. The string identifies the tool.
LlmGenerated
Generated by an LLM during the bout.
ExternalApi(String)
Received from an external API. The string identifies the API.
FileSystem(String)
Read from the filesystem. The string is the file path.
Environment
Sourced from the process environment.
Trait Implementations§
Source§impl Clone for TaintSource
impl Clone for TaintSource
Source§fn clone(&self) -> TaintSource
fn clone(&self) -> TaintSource
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 TaintSource
impl Debug for TaintSource
Source§impl<'de> Deserialize<'de> for TaintSource
impl<'de> Deserialize<'de> for TaintSource
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 TaintSource
impl PartialEq for TaintSource
Source§impl Serialize for TaintSource
impl Serialize for TaintSource
impl Eq for TaintSource
impl StructuralPartialEq for TaintSource
Auto Trait Implementations§
impl Freeze for TaintSource
impl RefUnwindSafe for TaintSource
impl Send for TaintSource
impl Sync for TaintSource
impl Unpin for TaintSource
impl UnsafeUnpin for TaintSource
impl UnwindSafe for TaintSource
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§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.