Enum libseccomp_sys::scmp_compare
source · [−]#[repr(C)]
pub enum scmp_compare {
_SCMP_CMP_MIN,
SCMP_CMP_NE,
SCMP_CMP_LT,
SCMP_CMP_LE,
SCMP_CMP_EQ,
SCMP_CMP_GE,
SCMP_CMP_GT,
SCMP_CMP_MASKED_EQ,
_SCMP_CMP_MAX,
}
Expand description
Comparison operators
Variants
_SCMP_CMP_MIN
SCMP_CMP_NE
not equal
SCMP_CMP_LT
less than
SCMP_CMP_LE
less than or equal
SCMP_CMP_EQ
equal
SCMP_CMP_GE
greater than or equal
SCMP_CMP_GT
greater than
SCMP_CMP_MASKED_EQ
masked equality
_SCMP_CMP_MAX
Trait Implementations
sourceimpl Clone for scmp_compare
impl Clone for scmp_compare
sourcefn clone(&self) -> scmp_compare
fn clone(&self) -> scmp_compare
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 scmp_compare
impl Debug for scmp_compare
sourceimpl Hash for scmp_compare
impl Hash for scmp_compare
sourceimpl PartialEq<scmp_compare> for scmp_compare
impl PartialEq<scmp_compare> for scmp_compare
impl Copy for scmp_compare
impl Eq for scmp_compare
impl StructuralEq for scmp_compare
impl StructuralPartialEq for scmp_compare
Auto Trait Implementations
impl RefUnwindSafe for scmp_compare
impl Send for scmp_compare
impl Sync for scmp_compare
impl Unpin for scmp_compare
impl UnwindSafe for scmp_compare
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more