Enum rustix_uring::types::IoringRestrictionOp
source · #[non_exhaustive]
pub enum IoringRestrictionOp {
RegisterOp,
SqeFlagsAllowed,
SqeFlagsRequired,
SqeOp,
}
Expand description
IORING_RESTRICTION_*
constants for use with io_uring_restriction
.
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.
RegisterOp
IORING_RESTRICTION_REGISTER_OP
SqeFlagsAllowed
IORING_RESTRICTION_SQE_FLAGS_ALLOWED
SqeFlagsRequired
IORING_RESTRICTION_SQE_FLAGS_REQUIRED
SqeOp
IORING_RESTRICTION_SQE_OP
Trait Implementations§
source§impl Clone for IoringRestrictionOp
impl Clone for IoringRestrictionOp
source§fn clone(&self) -> IoringRestrictionOp
fn clone(&self) -> IoringRestrictionOp
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 IoringRestrictionOp
impl Debug for IoringRestrictionOp
source§impl Default for IoringRestrictionOp
impl Default for IoringRestrictionOp
source§fn default() -> IoringRestrictionOp
fn default() -> IoringRestrictionOp
Returns the “default value” for a type. Read more
source§impl Hash for IoringRestrictionOp
impl Hash for IoringRestrictionOp
source§impl PartialEq<IoringRestrictionOp> for IoringRestrictionOp
impl PartialEq<IoringRestrictionOp> for IoringRestrictionOp
source§fn eq(&self, other: &IoringRestrictionOp) -> bool
fn eq(&self, other: &IoringRestrictionOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.