#[non_exhaustive]#[repr(u16)]pub enum PT_ENUMFLAGS16_io_uring_register_opcodes {
Show 23 variants
IORING_REGISTER_BUFFERS,
IORING_UNREGISTER_BUFFERS,
IORING_REGISTER_FILES,
IORING_UNREGISTER_FILES,
IORING_REGISTER_EVENTFD,
IORING_UNREGISTER_EVENTFD,
IORING_REGISTER_FILES_UPDATE,
IORING_REGISTER_EVENTFD_ASYNC,
IORING_REGISTER_PROBE,
IORING_REGISTER_PERSONALITY,
IORING_UNREGISTER_PERSONALITY,
IORING_REGISTER_RESTRICTIONS,
IORING_REGISTER_ENABLE_RINGS,
IORING_REGISTER_FILES2,
IORING_REGISTER_FILES_UPDATE2,
IORING_REGISTER_BUFFERS2,
IORING_REGISTER_BUFFERS_UPDATE,
IORING_REGISTER_IOWQ_AFF,
IORING_UNREGISTER_IOWQ_AFF,
IORING_REGISTER_IOWQ_MAX_WORKERS,
IORING_REGISTER_RING_FDS,
IORING_UNREGISTER_RING_FDS,
Unknown(usize),
}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_REGISTER_BUFFERS
IORING_UNREGISTER_BUFFERS
IORING_REGISTER_FILES
IORING_UNREGISTER_FILES
IORING_REGISTER_EVENTFD
IORING_UNREGISTER_EVENTFD
IORING_REGISTER_FILES_UPDATE
IORING_REGISTER_EVENTFD_ASYNC
IORING_REGISTER_PROBE
IORING_REGISTER_PERSONALITY
IORING_UNREGISTER_PERSONALITY
IORING_REGISTER_RESTRICTIONS
IORING_REGISTER_ENABLE_RINGS
IORING_REGISTER_FILES2
IORING_REGISTER_FILES_UPDATE2
IORING_REGISTER_BUFFERS2
IORING_REGISTER_BUFFERS_UPDATE
IORING_REGISTER_IOWQ_AFF
IORING_UNREGISTER_IOWQ_AFF
IORING_REGISTER_IOWQ_MAX_WORKERS
IORING_REGISTER_RING_FDS
IORING_UNREGISTER_RING_FDS
Unknown(usize)
Implementations§
Trait Implementations§
Source§impl Clone for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Clone for PT_ENUMFLAGS16_io_uring_register_opcodes
Source§fn clone(&self) -> PT_ENUMFLAGS16_io_uring_register_opcodes
fn clone(&self) -> PT_ENUMFLAGS16_io_uring_register_opcodes
Returns a duplicate 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 From<PT_ENUMFLAGS16_io_uring_register_opcodes> for u16
impl From<PT_ENUMFLAGS16_io_uring_register_opcodes> for u16
Source§fn from(val: PT_ENUMFLAGS16_io_uring_register_opcodes) -> u16
fn from(val: PT_ENUMFLAGS16_io_uring_register_opcodes) -> u16
Converts to this type from the input type.
Source§impl FromBytes<'_> for PT_ENUMFLAGS16_io_uring_register_opcodes
impl FromBytes<'_> for PT_ENUMFLAGS16_io_uring_register_opcodes
Source§fn from_bytes(buf: &mut &[u8]) -> Result<Self, FromBytesError>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> Result<Self, FromBytesError>where
Self: Sized,
Read the binary representation of a field and return the parsed representation Read more
Source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
Read the binary representation of a field from a buffer that may or may not exist Read more
Source§impl Ord for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Ord for PT_ENUMFLAGS16_io_uring_register_opcodes
Source§fn cmp(&self, other: &PT_ENUMFLAGS16_io_uring_register_opcodes) -> Ordering
fn cmp(&self, other: &PT_ENUMFLAGS16_io_uring_register_opcodes) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PT_ENUMFLAGS16_io_uring_register_opcodes
impl PartialEq for PT_ENUMFLAGS16_io_uring_register_opcodes
Source§fn eq(&self, other: &PT_ENUMFLAGS16_io_uring_register_opcodes) -> bool
fn eq(&self, other: &PT_ENUMFLAGS16_io_uring_register_opcodes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PT_ENUMFLAGS16_io_uring_register_opcodes
impl PartialOrd for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Copy for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Eq for PT_ENUMFLAGS16_io_uring_register_opcodes
impl StructuralPartialEq for PT_ENUMFLAGS16_io_uring_register_opcodes
Auto Trait Implementations§
impl Freeze for PT_ENUMFLAGS16_io_uring_register_opcodes
impl RefUnwindSafe for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Send for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Sync for PT_ENUMFLAGS16_io_uring_register_opcodes
impl Unpin for PT_ENUMFLAGS16_io_uring_register_opcodes
impl UnwindSafe for PT_ENUMFLAGS16_io_uring_register_opcodes
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