Enum seccompiler::SeccompCmpOp
source · [−]pub enum SeccompCmpOp {
Eq,
Ge,
Gt,
Le,
Lt,
MaskedEq(u64),
Ne,
}
Expand description
Comparison to perform when matching a condition.
Variants
Eq
Argument value is equal to the specified value.
Ge
Argument value is greater than or equal to the specified value.
Gt
Argument value is greater than specified value.
Le
Argument value is less than or equal to the specified value.
Lt
Argument value is less than specified value.
MaskedEq(u64)
Masked bits of argument value are equal to masked bits of specified value.
Ne
Argument value is not equal to specified value.
Trait Implementations
sourceimpl Clone for SeccompCmpOp
impl Clone for SeccompCmpOp
sourcefn clone(&self) -> SeccompCmpOp
fn clone(&self) -> SeccompCmpOp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SeccompCmpOp
impl Debug for SeccompCmpOp
sourceimpl PartialEq<SeccompCmpOp> for SeccompCmpOp
impl PartialEq<SeccompCmpOp> for SeccompCmpOp
sourcefn eq(&self, other: &SeccompCmpOp) -> bool
fn eq(&self, other: &SeccompCmpOp) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for SeccompCmpOp
impl StructuralEq for SeccompCmpOp
impl StructuralPartialEq for SeccompCmpOp
Auto Trait Implementations
impl RefUnwindSafe for SeccompCmpOp
impl Send for SeccompCmpOp
impl Sync for SeccompCmpOp
impl Unpin for SeccompCmpOp
impl UnwindSafe for SeccompCmpOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more