Module rustix_uring::types
source · Expand description
Common Linux types not provided by libc.
Structs
- A borrowed file descriptor.
- A destination slot for sending fixed resources (e.g.
opcode::MsgRingSendFd
). - The error type for
rustix
APIs. - A file descriptor that has not been registered with io_uring.
- A file descriptor that has been registered with io_uring using
Submitter::register_files
orSubmitter::register_files_sparse
. This can reduce overhead compared to usingFd
in some cases. - accept flags (
sqe.ioprio
) IORING_ASYNC_CANCEL_*
flags for use withio_uring_sqe
.IORING_CQ_*
flags.IORING_CQE_F_*
flags for use withio_uring_cqe
.IORING_ENTER_*
flags for use withio_uring_enter
.IORING_FEAT_*
flags for use withio_uring_params
.IORING_FSYNC_*
flags for use withio_uring_sqe
.IORING_MSG_RING_*
flags for use withio_uring_sqe
.IO_URING_OP_*
flags for use withio_uring_probe_op
.IORING_POLL_*
flags.- recv/recvmsg flags (
sqe.ioprio
) IORING_RSRC_*
flags for use withio_uring_rsrc_register
.- send/sendmsg flags (
sqe.ioprio
) IORING_SETUP_*
flags for use withio_uring_params
.IORING_SQ_*
flags.IOSQE_*
flags for use withio_uring_sqe
.O_*
constants for use withopenat
.- Wrapper around
open_how
as used in theopenat2(2)
system call. - An owned file descriptor.
MSG_*
- Helper structure for parsing the result of a multishot
opcode::RecvMsg
. - recvmsg out flags
RENAME_*
constants for use withrenameat_with
.RESOLVE_*
constants for use withopenat2
.MSG_*
SPLICE_F_*
flags for use withio_uring_sqe
.- Submit arguments
Enums
POSIX_FADV_*
constants for use withfadvise
.IORING_OP_*
constants for use withio_uring_sqe
.IORING_RESTRICTION_*
constants for use withio_uring_restriction
.
Traits
- A trait to borrow the file descriptor from an underlying object.
- A trait to extract the raw file descriptor from an underlying object.
Type Definitions
- Raw file descriptors.
struct statx
for use withstatx
.struct timespec
Unions
- User data in the io_uring API.