Enum rustix::io_uring::IoringRegisterOp
source · #[non_exhaustive]#[repr(u8)]pub enum IoringRegisterOp {
Show 27 variants
RegisterBuffers = 0,
UnregisterBuffers = 1,
RegisterFiles = 2,
UnregisterFiles = 3,
RegisterEventfd = 4,
UnregisterEventfd = 5,
RegisterFilesUpdate = 6,
RegisterEventfdAsync = 7,
RegisterProbe = 8,
RegisterPersonality = 9,
UnregisterPersonality = 10,
RegisterRestrictions = 11,
RegisterEnableRings = 12,
RegisterBuffers2 = 15,
RegisterBuffersUpdate = 16,
RegisterFiles2 = 13,
RegisterFilesSkip = 254,
RegisterFilesUpdate2 = 14,
RegisterIowqAff = 17,
UnregisterIowqAff = 18,
RegisterIowqMaxWorkers = 19,
RegisterRingFds = 20,
UnregisterRingFds = 21,
RegisterPbufRing = 22,
UnregisterPbufRing = 23,
RegisterSyncCancel = 24,
RegisterFileAllocRange = 25,
}
io_uring
only.Expand description
IORING_REGISTER_*
and IORING_UNREGISTER_*
constants for use with
io_uring_register
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RegisterBuffers = 0
IORING_REGISTER_BUFFERS
UnregisterBuffers = 1
IORING_UNREGISTER_BUFFERS
RegisterFiles = 2
IORING_REGISTER_FILES
UnregisterFiles = 3
IORING_UNREGISTER_FILES
RegisterEventfd = 4
IORING_REGISTER_EVENTFD
UnregisterEventfd = 5
IORING_UNREGISTER_EVENTFD
RegisterFilesUpdate = 6
IORING_REGISTER_FILES_UPDATE
RegisterEventfdAsync = 7
IORING_REGISTER_EVENTFD_ASYNC
RegisterProbe = 8
IORING_REGISTER_PROBE
RegisterPersonality = 9
IORING_REGISTER_PERSONALITY
UnregisterPersonality = 10
IORING_UNREGISTER_PERSONALITY
RegisterRestrictions = 11
IORING_REGISTER_RESTRICTIONS
RegisterEnableRings = 12
IORING_REGISTER_ENABLE_RINGS
RegisterBuffers2 = 15
IORING_REGISTER_BUFFERS2
RegisterBuffersUpdate = 16
IORING_REGISTER_BUFFERS_UPDATE
RegisterFiles2 = 13
IORING_REGISTER_FILES2
RegisterFilesSkip = 254
IORING_REGISTER_FILES_SKIP
RegisterFilesUpdate2 = 14
IORING_REGISTER_FILES_UPDATE2
RegisterIowqAff = 17
IORING_REGISTER_IOWQ_AFF
UnregisterIowqAff = 18
IORING_UNREGISTER_IOWQ_AFF
RegisterIowqMaxWorkers = 19
IORING_REGISTER_IOWQ_MAX_WORKERS
RegisterRingFds = 20
IORING_REGISTER_RING_FDS
UnregisterRingFds = 21
IORING_UNREGISTER_RING_FDS
RegisterPbufRing = 22
IORING_REGISTER_PBUF_RING
UnregisterPbufRing = 23
IORING_UNREGISTER_PBUF_RING
RegisterSyncCancel = 24
IORING_REGISTER_SYNC_CANCEL
RegisterFileAllocRange = 25
IORING_REGISTER_FILE_ALLOC_RANGE
Trait Implementations§
source§impl Clone for IoringRegisterOp
impl Clone for IoringRegisterOp
source§fn clone(&self) -> IoringRegisterOp
fn clone(&self) -> IoringRegisterOp
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IoringRegisterOp
impl Debug for IoringRegisterOp
source§impl Hash for IoringRegisterOp
impl Hash for IoringRegisterOp
source§impl PartialEq for IoringRegisterOp
impl PartialEq for IoringRegisterOp
impl Copy for IoringRegisterOp
impl Eq for IoringRegisterOp
impl StructuralPartialEq for IoringRegisterOp
Auto Trait Implementations§
impl Freeze for IoringRegisterOp
impl RefUnwindSafe for IoringRegisterOp
impl Send for IoringRegisterOp
impl Sync for IoringRegisterOp
impl Unpin for IoringRegisterOp
impl UnwindSafe for IoringRegisterOp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)