Enum oci_spec::runtime::LinuxSeccompOperator
source · #[repr(u32)]pub enum LinuxSeccompOperator {
ScmpCmpNe = 1,
ScmpCmpLt = 2,
ScmpCmpLe = 3,
ScmpCmpEq = 4,
ScmpCmpGe = 5,
ScmpCmpGt = 6,
ScmpCmpMaskedEq = 7,
}
Expand description
The seccomp operator to be used for args.
Variants§
ScmpCmpNe = 1
Refers to the SCMP_CMP_NE operator (not equal).
ScmpCmpLt = 2
Refers to the SCMP_CMP_LT operator (less than).
ScmpCmpLe = 3
Refers to the SCMP_CMP_LE operator (less equal).
ScmpCmpEq = 4
Refers to the SCMP_CMP_EQ operator (equal to).
ScmpCmpGe = 5
Refers to the SCMP_CMP_GE operator (greater equal).
ScmpCmpGt = 6
Refers to the SCMP_CMP_GT operator (greater than).
ScmpCmpMaskedEq = 7
Refers to the SCMP_CMP_MASKED_EQ operator (masked equal).
Trait Implementations§
source§impl Clone for LinuxSeccompOperator
impl Clone for LinuxSeccompOperator
source§fn clone(&self) -> LinuxSeccompOperator
fn clone(&self) -> LinuxSeccompOperator
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 LinuxSeccompOperator
impl Debug for LinuxSeccompOperator
source§impl Default for LinuxSeccompOperator
impl Default for LinuxSeccompOperator
source§impl<'de> Deserialize<'de> for LinuxSeccompOperator
impl<'de> Deserialize<'de> for LinuxSeccompOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for LinuxSeccompOperator
impl Display for LinuxSeccompOperator
source§impl FromStr for LinuxSeccompOperator
impl FromStr for LinuxSeccompOperator
source§impl PartialEq for LinuxSeccompOperator
impl PartialEq for LinuxSeccompOperator
source§impl Serialize for LinuxSeccompOperator
impl Serialize for LinuxSeccompOperator
source§impl TryFrom<&str> for LinuxSeccompOperator
impl TryFrom<&str> for LinuxSeccompOperator
impl Copy for LinuxSeccompOperator
impl Eq for LinuxSeccompOperator
impl StructuralPartialEq for LinuxSeccompOperator
Auto Trait Implementations§
impl Freeze for LinuxSeccompOperator
impl RefUnwindSafe for LinuxSeccompOperator
impl Send for LinuxSeccompOperator
impl Sync for LinuxSeccompOperator
impl Unpin for LinuxSeccompOperator
impl UnwindSafe for LinuxSeccompOperator
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)