Enum oci_spec::runtime::LinuxSeccompOperator
source · [−]#[repr(u32)]
pub enum LinuxSeccompOperator {
ScmpCmpNe,
ScmpCmpLt,
ScmpCmpLe,
ScmpCmpEq,
ScmpCmpGe,
ScmpCmpGt,
ScmpCmpMaskedEq,
}Expand description
The seccomp operator to be used for args.
Variants
ScmpCmpNe
Refers to the SCMP_CMP_NE operator (not equal).
ScmpCmpLt
Refers to the SCMP_CMP_LT operator (less than).
ScmpCmpLe
Refers to the SCMP_CMP_LE operator (less equal).
ScmpCmpEq
Refers to the SCMP_CMP_EQ operator (equal to).
ScmpCmpGe
Refers to the SCMP_CMP_GE operator (greater equal).
ScmpCmpGt
Refers to the SCMP_CMP_GT operator (greater than).
ScmpCmpMaskedEq
Refers to the SCMP_CMP_MASKED_EQ operator (masked equal).
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for LinuxSeccompOperator
impl Send for LinuxSeccompOperator
impl Sync for LinuxSeccompOperator
impl Unpin for LinuxSeccompOperator
impl UnwindSafe for LinuxSeccompOperator
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.