Enum rustix::process::TrapCapBehavior
source · #[repr(i32)]pub enum TrapCapBehavior {
Disable = 2,
Enable = 1,
}
Available on crate feature
process
only.Expand description
PROC_TRAPCAP_CTL_*
.
Variants§
Disable = 2
Disable the Signal::Trap
signal delivery on capability mode access
violations.
Enable = 1
Enable the Signal::Trap
signal delivery on capability mode access
violations.
Trait Implementations§
source§impl Clone for TrapCapBehavior
impl Clone for TrapCapBehavior
source§fn clone(&self) -> TrapCapBehavior
fn clone(&self) -> TrapCapBehavior
Returns a copy 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 TrapCapBehavior
impl Debug for TrapCapBehavior
source§impl PartialEq for TrapCapBehavior
impl PartialEq for TrapCapBehavior
source§fn eq(&self, other: &TrapCapBehavior) -> bool
fn eq(&self, other: &TrapCapBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TrapCapBehavior
impl Eq for TrapCapBehavior
impl StructuralEq for TrapCapBehavior
impl StructuralPartialEq for TrapCapBehavior
Auto Trait Implementations§
impl RefUnwindSafe for TrapCapBehavior
impl Send for TrapCapBehavior
impl Sync for TrapCapBehavior
impl Unpin for TrapCapBehavior
impl UnwindSafe for TrapCapBehavior
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