pub enum SecurityViolation {
StackCanaryViolation,
GuardPageViolation,
CfiViolation,
IsolationViolation,
MemoryViolation,
ResourceViolation,
CryptoViolation,
}
Expand description
Security violation types.
Variants§
StackCanaryViolation
Stack overflow detected via canary
GuardPageViolation
Stack guard page accessed
CfiViolation
Control flow integrity violation
IsolationViolation
Thread isolation boundary crossed
MemoryViolation
Invalid memory access detected
ResourceViolation
Resource limit exceeded
CryptoViolation
Cryptographic operation failed
Trait Implementations§
Source§impl Clone for SecurityViolation
impl Clone for SecurityViolation
Source§fn clone(&self) -> SecurityViolation
fn clone(&self) -> SecurityViolation
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 SecurityViolation
impl Debug for SecurityViolation
Source§impl PartialEq for SecurityViolation
impl PartialEq for SecurityViolation
impl Copy for SecurityViolation
impl Eq for SecurityViolation
impl StructuralPartialEq for SecurityViolation
Auto Trait Implementations§
impl Freeze for SecurityViolation
impl RefUnwindSafe for SecurityViolation
impl Send for SecurityViolation
impl Sync for SecurityViolation
impl Unpin for SecurityViolation
impl UnwindSafe for SecurityViolation
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