pub enum ThreatModelError {
ReParseVerificationFailed(String),
TamperDetected(String),
SandboxEscapeDetected(String),
MutationUncertaintyDetected(String),
IsolationViolationDetected(String),
Custom(String),
}Expand description
Threat model validation errors.
Variants§
ReParseVerificationFailed(String)
Code re-parse verification failed
TamperDetected(String)
Macro tampering detected
SandboxEscapeDetected(String)
DSL sandbox escape attempt detected
MutationUncertaintyDetected(String)
Mutation detection uncertainty in strict mode
IsolationViolationDetected(String)
Simulation isolation violation detected
Custom(String)
Custom threat
Trait Implementations§
Source§impl Clone for ThreatModelError
impl Clone for ThreatModelError
Source§fn clone(&self) -> ThreatModelError
fn clone(&self) -> ThreatModelError
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 ThreatModelError
impl Debug for ThreatModelError
Source§impl Display for ThreatModelError
impl Display for ThreatModelError
Source§impl PartialEq for ThreatModelError
impl PartialEq for ThreatModelError
impl Eq for ThreatModelError
impl StructuralPartialEq for ThreatModelError
Auto Trait Implementations§
impl Freeze for ThreatModelError
impl RefUnwindSafe for ThreatModelError
impl Send for ThreatModelError
impl Sync for ThreatModelError
impl Unpin for ThreatModelError
impl UnsafeUnpin for ThreatModelError
impl UnwindSafe for ThreatModelError
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.