Enum rustix::thread::SecureComputingMode
source · #[repr(i32)]pub enum SecureComputingMode {
Disabled = 0,
Strict = 1,
Filter = 2,
}
Expand description
SECCOMP_MODE_*
.
Variants§
Disabled = 0
Secure computing is not in use.
Strict = 1
Use hard-coded filter.
Filter = 2
Use user-supplied filter.
Trait Implementations§
source§impl Clone for SecureComputingMode
impl Clone for SecureComputingMode
source§fn clone(&self) -> SecureComputingMode
fn clone(&self) -> SecureComputingMode
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 SecureComputingMode
impl Debug for SecureComputingMode
source§impl PartialEq for SecureComputingMode
impl PartialEq for SecureComputingMode
source§fn eq(&self, other: &SecureComputingMode) -> bool
fn eq(&self, other: &SecureComputingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for SecureComputingMode
impl TryFrom<i32> for SecureComputingMode
impl Copy for SecureComputingMode
impl Eq for SecureComputingMode
impl StructuralPartialEq for SecureComputingMode
Auto Trait Implementations§
impl Freeze for SecureComputingMode
impl RefUnwindSafe for SecureComputingMode
impl Send for SecureComputingMode
impl Sync for SecureComputingMode
impl Unpin for SecureComputingMode
impl UnwindSafe for SecureComputingMode
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