Enum linux_raw_sys::general::_bindgen_ty_12
source · #[repr(u32)]
#[non_exhaustive]
pub enum _bindgen_ty_12 {
IORING_RESTRICTION_REGISTER_OP,
IORING_RESTRICTION_SQE_OP,
IORING_RESTRICTION_SQE_FLAGS_ALLOWED,
IORING_RESTRICTION_SQE_FLAGS_REQUIRED,
IORING_RESTRICTION_LAST,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IORING_RESTRICTION_REGISTER_OP
IORING_RESTRICTION_SQE_OP
IORING_RESTRICTION_SQE_FLAGS_ALLOWED
IORING_RESTRICTION_SQE_FLAGS_REQUIRED
IORING_RESTRICTION_LAST
Trait Implementations§
source§impl Clone for _bindgen_ty_12
impl Clone for _bindgen_ty_12
source§fn clone(&self) -> _bindgen_ty_12
fn clone(&self) -> _bindgen_ty_12
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 _bindgen_ty_12
impl Debug for _bindgen_ty_12
source§impl Hash for _bindgen_ty_12
impl Hash for _bindgen_ty_12
source§impl PartialEq<_bindgen_ty_12> for _bindgen_ty_12
impl PartialEq<_bindgen_ty_12> for _bindgen_ty_12
source§fn eq(&self, other: &_bindgen_ty_12) -> bool
fn eq(&self, other: &_bindgen_ty_12) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.