Enum rustix::thread::SecureComputingMode
source · #[repr(i32)]pub enum SecureComputingMode {
Disabled,
Strict,
Filter,
}Available on crate feature
thread only.Expand description
SECCOMP_MODE_*.
Variants§
Disabled
Secure computing is not in use.
Strict
Use hard-coded filter.
Filter
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<SecureComputingMode> for SecureComputingMode
impl PartialEq<SecureComputingMode> 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 StructuralEq for SecureComputingMode
impl StructuralPartialEq for SecureComputingMode
Auto Trait Implementations§
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