#[non_exhaustive]
pub enum IoringOp {
Show 49 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, MsgRing, Fsetxattr, Setxattr, Fgetxattr, Getxattr, Socket, UringCmd, SendZc, SendmsgZc,
}
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

§

MsgRing

IORING_OP_MSG_RING

§

Fsetxattr

IORING_OP_FSETXATTR

§

Setxattr

IORING_OP_SETXATTR

§

Fgetxattr

IORING_OP_FGETXATTR

§

Getxattr

IORING_OP_GETXATTR

§

Socket

IORING_OP_SOCKET

§

UringCmd

IORING_OP_URING_CMD

§

SendZc

IORING_OP_SEND_ZC

§

SendmsgZc

IORING_OP_SENDMSG_ZC

Trait Implementations§

source§

impl Clone for IoringOp

source§

fn clone(&self) -> IoringOp

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 IoringOp

source§

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

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

impl Default for IoringOp

source§

fn default() -> IoringOp

Returns the “default value” for a type. Read more
source§

impl Hash for IoringOp

source§

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

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<IoringOp> for IoringOp

source§

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

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

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

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

impl Copy for IoringOp

source§

impl Eq for IoringOp

source§

impl StructuralEq for IoringOp

source§

impl StructuralPartialEq for IoringOp

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.