Module types

Source
Expand description

Common Linux types not provided by libc.

Structs§

AtFlags
AT_* constants for use with openat, statat, and other *at functions.
BufRingEntry
CancelBuilder
CancelBuilder constructs match criteria for request cancellation.
DestinationSlot
A destination slot for sending fixed resources (e.g. opcode::MsgRingSendFd).
EpollEvent
A record of an event that occurred.
Fd
A file descriptor that has not been registered with io_uring.
Fixed
A file descriptor that has been registered with io_uring using Submitter::register_files or Submitter::register_files_sparse. This can reduce overhead compared to using Fd in some cases.
FsyncFlags
Options for Fsync.
FutexWaitV
Wrapper around futex_waitv as used in futex_waitv system call.
Mode
S_I* constants for use with openat, chmodat, and fchmod.
MsgHdr
msghdr
OFlags
O_* constants for use with openat.
OpenHow
Wrapper around open_how as used in the openat2(2) system call.
RecvMsgOut
Helper structure for parsing the result of a multishot opcode::RecvMsg.
RenameFlags
RENAME_* constants for use with renameat_with.
ResolveFlags
RESOLVE_* constants for use with openat2.
RwFlags
RWF_* constants for use with preadv2 and pwritev2.
SocketAddrOpaque
Opaque type equivalent to sockaddr in C.
Statx
struct statx for use with statx.
StatxFlags
STATX_* constants for use with statx.
SubmitArgs
Submit arguments
TimeoutFlags
Options for Timeout.
Timespec
iovec

Enums§

Advice
POSIX_FADV_* constants for use with fadvise.

Type Aliases§

SocketAddrLen
A type for the length of a socket address.