Crate io_uring

Source
Expand description

Safe wrapper over the Linux io_uring system calls.

Modules§

bindings 🔒
syscalls 🔒
uring 🔒

Structs§

CompleteQueueState
SubmitQueue
URingAllowlist
Represents an allowlist of the restrictions to be registered to a uring.
URingContext
Unsafe wrapper for the kernel’s io_uring interface. Allows for queueing multiple I/O operations to the kernel and asynchronously handling the completion of these operations. Use the various add_* functions to configure operations, then call wait to start the operations and get any completed results. Each op is given a u64 user_data argument that is used to identify the result when returned in the iterator provided by wait.

Enums§

Error
URingOperation
Enum to represent all io_uring operations

Type Aliases§

Result
UserData
Holds per-operation, user specified data. The usage is up to the caller. The most common use is for callers to identify each request.