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§
source§impl Clone for SeccompCmpOp
impl Clone for SeccompCmpOp
source§fn clone(&self) -> SeccompCmpOp
fn clone(&self) -> SeccompCmpOp
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 SeccompCmpOp
impl Debug for SeccompCmpOp
source§impl PartialEq for SeccompCmpOp
impl PartialEq for SeccompCmpOp
source§fn 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 ==
.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§
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