IoRingOp

Enum IoRingOp 

Source
#[non_exhaustive]
#[repr(C)]
pub enum IoRingOp {
Show 34 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,
}

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

Trait Implementations§

Source§

impl Debug for IoRingOp

Source§

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

Formats the value using the given formatter. Read more

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> 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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.