#[repr(u8)]
#[non_exhaustive]
pub enum IoringOp {
Show 40 variants Nop, Accept, AsyncCancel, Close, Connect, EpollCtl, Fadvise, Fallocate, FilesUpdate, Fsync, Linkat, LinkTimeout, Madvise, Mkdirat, Openat, Openat2, PollAdd, PollRemove, ProvideBuffers, Read, Readv, ReadFixed, Recv, Recvmsg, RemoveBuffers, Renameat, Send, Sendmsg, Shutdown, Splice, Statx, Symlinkat, SyncFileRange, Tee, Timeout, TimeoutRemove, Unlinkat, Write, Writev, WriteFixed,
}
Available on crate feature io_uring only.
Expand description

IORING_OP_* constants for use with io_uring_sqe.

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.

Nop

IORING_OP_NOP

Accept

IORING_OP_ACCEPT

AsyncCancel

IORING_OP_ASYNC_CANCEL

Close

IORING_OP_CLOSE

Connect

IORING_OP_CONNECT

EpollCtl

IORING_OP_EPOLL_CTL

Fadvise

IORING_OP_FADVISE

Fallocate

IORING_OP_FALLOCATE

FilesUpdate

IORING_OP_FILES_UPDATE

Fsync

IORING_OP_FSYNC

Linkat

IORING_OP_LINKAT

LinkTimeout

IORING_OP_LINK_TIMEOUT

Madvise

IORING_OP_MADVISE

Mkdirat

IORING_OP_MKDIRAT

Openat

IORING_OP_OPENAT

Openat2

IORING_OP_OPENAT2

PollAdd

IORING_OP_POLL_ADD

PollRemove

IORING_OP_POLL_REMOVE

ProvideBuffers

IORING_OP_PROVIDE_BUFFERS

Read

IORING_OP_READ

Readv

IORING_OP_READV

ReadFixed

IORING_OP_READ_FIXED

Recv

IORING_OP_RECV

Recvmsg

IORING_OP_RECVMSG

RemoveBuffers

IORING_OP_REMOVE_BUFFERS

Renameat

IORING_OP_RENAMEAT

Send

IORING_OP_SEND

Sendmsg

IORING_OP_SENDMSG

Shutdown

IORING_OP_SHUTDOWN

Splice

IORING_OP_SPLICE

Statx

IORING_OP_STATX

Symlinkat

IORING_OP_SYMLINKAT

SyncFileRange

IORING_OP_SYNC_FILE_RANGE

Tee

IORING_OP_TEE

Timeout

IORING_OP_TIMEOUT

TimeoutRemove

IORING_OP_TIMEOUT_REMOVE

Unlinkat

IORING_OP_UNLINKAT

Write

IORING_OP_WRITE

Writev

IORING_OP_WRITEV

WriteFixed

IORING_OP_WRITE_FIXED

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.