Enum linux_raw_sys::io_uring::io_uring_op

source ·
#[non_exhaustive]
#[repr(u32)]
pub enum io_uring_op {
Show 56 variants IORING_OP_NOP = 0, IORING_OP_READV = 1, IORING_OP_WRITEV = 2, IORING_OP_FSYNC = 3, IORING_OP_READ_FIXED = 4, IORING_OP_WRITE_FIXED = 5, IORING_OP_POLL_ADD = 6, IORING_OP_POLL_REMOVE = 7, IORING_OP_SYNC_FILE_RANGE = 8, IORING_OP_SENDMSG = 9, IORING_OP_RECVMSG = 10, IORING_OP_TIMEOUT = 11, IORING_OP_TIMEOUT_REMOVE = 12, IORING_OP_ACCEPT = 13, IORING_OP_ASYNC_CANCEL = 14, IORING_OP_LINK_TIMEOUT = 15, IORING_OP_CONNECT = 16, IORING_OP_FALLOCATE = 17, IORING_OP_OPENAT = 18, IORING_OP_CLOSE = 19, IORING_OP_FILES_UPDATE = 20, IORING_OP_STATX = 21, IORING_OP_READ = 22, IORING_OP_WRITE = 23, IORING_OP_FADVISE = 24, IORING_OP_MADVISE = 25, IORING_OP_SEND = 26, IORING_OP_RECV = 27, IORING_OP_OPENAT2 = 28, IORING_OP_EPOLL_CTL = 29, IORING_OP_SPLICE = 30, IORING_OP_PROVIDE_BUFFERS = 31, IORING_OP_REMOVE_BUFFERS = 32, IORING_OP_TEE = 33, IORING_OP_SHUTDOWN = 34, IORING_OP_RENAMEAT = 35, IORING_OP_UNLINKAT = 36, IORING_OP_MKDIRAT = 37, IORING_OP_SYMLINKAT = 38, IORING_OP_LINKAT = 39, IORING_OP_MSG_RING = 40, IORING_OP_FSETXATTR = 41, IORING_OP_SETXATTR = 42, IORING_OP_FGETXATTR = 43, IORING_OP_GETXATTR = 44, IORING_OP_SOCKET = 45, IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, IORING_OP_READ_MULTISHOT = 49, IORING_OP_WAITID = 50, IORING_OP_FUTEX_WAIT = 51, IORING_OP_FUTEX_WAKE = 52, IORING_OP_FUTEX_WAITV = 53, IORING_OP_FIXED_FD_INSTALL = 54, IORING_OP_LAST = 55,
}

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_OP_NOP = 0

§

IORING_OP_READV = 1

§

IORING_OP_WRITEV = 2

§

IORING_OP_FSYNC = 3

§

IORING_OP_READ_FIXED = 4

§

IORING_OP_WRITE_FIXED = 5

§

IORING_OP_POLL_ADD = 6

§

IORING_OP_POLL_REMOVE = 7

§

IORING_OP_SYNC_FILE_RANGE = 8

§

IORING_OP_SENDMSG = 9

§

IORING_OP_RECVMSG = 10

§

IORING_OP_TIMEOUT = 11

§

IORING_OP_TIMEOUT_REMOVE = 12

§

IORING_OP_ACCEPT = 13

§

IORING_OP_ASYNC_CANCEL = 14

§

IORING_OP_CONNECT = 16

§

IORING_OP_FALLOCATE = 17

§

IORING_OP_OPENAT = 18

§

IORING_OP_CLOSE = 19

§

IORING_OP_FILES_UPDATE = 20

§

IORING_OP_STATX = 21

§

IORING_OP_READ = 22

§

IORING_OP_WRITE = 23

§

IORING_OP_FADVISE = 24

§

IORING_OP_MADVISE = 25

§

IORING_OP_SEND = 26

§

IORING_OP_RECV = 27

§

IORING_OP_OPENAT2 = 28

§

IORING_OP_EPOLL_CTL = 29

§

IORING_OP_SPLICE = 30

§

IORING_OP_PROVIDE_BUFFERS = 31

§

IORING_OP_REMOVE_BUFFERS = 32

§

IORING_OP_TEE = 33

§

IORING_OP_SHUTDOWN = 34

§

IORING_OP_RENAMEAT = 35

§

IORING_OP_UNLINKAT = 36

§

IORING_OP_MKDIRAT = 37

§

IORING_OP_SYMLINKAT = 38

§

IORING_OP_LINKAT = 39

§

IORING_OP_MSG_RING = 40

§

IORING_OP_FSETXATTR = 41

§

IORING_OP_SETXATTR = 42

§

IORING_OP_FGETXATTR = 43

§

IORING_OP_GETXATTR = 44

§

IORING_OP_SOCKET = 45

§

IORING_OP_URING_CMD = 46

§

IORING_OP_SEND_ZC = 47

§

IORING_OP_SENDMSG_ZC = 48

§

IORING_OP_READ_MULTISHOT = 49

§

IORING_OP_WAITID = 50

§

IORING_OP_FUTEX_WAIT = 51

§

IORING_OP_FUTEX_WAKE = 52

§

IORING_OP_FUTEX_WAITV = 53

§

IORING_OP_FIXED_FD_INSTALL = 54

§

IORING_OP_LAST = 55

Trait Implementations§

source§

impl Clone for io_uring_op

source§

fn clone(&self) -> io_uring_op

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for io_uring_op

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for io_uring_op

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for io_uring_op

source§

fn eq(&self, other: &io_uring_op) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for io_uring_op

source§

impl Eq for io_uring_op

source§

impl StructuralPartialEq for io_uring_op

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.