pub enum EffectKind {
Show 13 variants
Pure,
Read,
Write,
Network,
Storage,
Process,
Shell,
Crypto,
Randomness,
Dom,
Database,
FrameworkCallback,
Unknown,
}Expand description
Internal side-effect taxonomy derived from security catalogue rows.
Variants§
Pure
No observable side effect.
Read
Structured-data read/query evaluation (XML external entities, XPath).
Write
In-memory state mutation (mass assignment, prototype pollution).
Network
Network I/O (HTTP clients, request-forgery sinks).
Storage
Filesystem access (path traversal, file permission changes).
Process
In-process code evaluation (eval, Function, string timers).
Shell
OS shell command execution.
Crypto
Cryptographic primitives (weak algorithm or key usage).
Randomness
Random-number generation in security-sensitive contexts.
Dom
DOM injection (innerHTML-style XSS sinks).
Database
Database query execution (SQL/NoSQL injection sinks).
FrameworkCallback
Callback invoked by a framework rather than a direct effect.
Unknown
Effect the catalogue cannot classify.
Implementations§
Trait Implementations§
Source§impl Clone for EffectKind
impl Clone for EffectKind
impl Copy for EffectKind
Source§impl Debug for EffectKind
impl Debug for EffectKind
Source§impl<'de> Deserialize<'de> for EffectKind
impl<'de> Deserialize<'de> for EffectKind
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
impl Eq for EffectKind
Source§impl Hash for EffectKind
impl Hash for EffectKind
Source§impl JsonSchema for EffectKind
impl JsonSchema for EffectKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EffectKind
impl PartialEq for EffectKind
Source§impl Serialize for EffectKind
impl Serialize for EffectKind
impl StructuralPartialEq for EffectKind
Auto Trait Implementations§
impl Freeze for EffectKind
impl RefUnwindSafe for EffectKind
impl Send for EffectKind
impl Sync for EffectKind
impl Unpin for EffectKind
impl UnsafeUnpin for EffectKind
impl UnwindSafe for EffectKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.