pub enum ViolationResponse {
Continue,
TerminateThread,
Panic,
}
Expand description
Security violation handler result.
Variants§
Continue
Continue execution (violation was handled)
TerminateThread
Terminate the violating thread
Panic
Panic the entire system
Trait Implementations§
Source§impl Clone for ViolationResponse
impl Clone for ViolationResponse
Source§fn clone(&self) -> ViolationResponse
fn clone(&self) -> ViolationResponse
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 ViolationResponse
impl Debug for ViolationResponse
Source§impl PartialEq for ViolationResponse
impl PartialEq for ViolationResponse
impl Copy for ViolationResponse
impl Eq for ViolationResponse
impl StructuralPartialEq for ViolationResponse
Auto Trait Implementations§
impl Freeze for ViolationResponse
impl RefUnwindSafe for ViolationResponse
impl Send for ViolationResponse
impl Sync for ViolationResponse
impl Unpin for ViolationResponse
impl UnwindSafe for ViolationResponse
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