Enum rustix::io_uring::IoringRestrictionOp
source · [−]#[repr(u16)]
#[non_exhaustive]
pub enum IoringRestrictionOp {
RegisterOp,
SqeFlagsAllowed,
SqeFlagsRequired,
SqeOp,
}
Available on crate feature
io_uring
only.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
sourceimpl Clone for IoringRestrictionOp
impl Clone for IoringRestrictionOp
sourcefn clone(&self) -> IoringRestrictionOp
fn clone(&self) -> IoringRestrictionOp
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 IoringRestrictionOp
impl Debug for IoringRestrictionOp
sourceimpl Default for IoringRestrictionOp
impl Default for IoringRestrictionOp
sourceimpl Hash for IoringRestrictionOp
impl Hash for IoringRestrictionOp
impl Copy for IoringRestrictionOp
impl Eq for IoringRestrictionOp
impl StructuralEq for IoringRestrictionOp
impl StructuralPartialEq for IoringRestrictionOp
Auto Trait Implementations
impl RefUnwindSafe for IoringRestrictionOp
impl Send for IoringRestrictionOp
impl Sync for IoringRestrictionOp
impl Unpin for IoringRestrictionOp
impl UnwindSafe for IoringRestrictionOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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