Skip to content
API REFERENCEUsage guides →

cellpack::loader::IoBackend ​

enum

Module contract · All interfaces

At a glance ​

pub enum IoBackend {
    Pread,
    Uring,
}

How a worker reads: the platform’s asynchronous ring, or blocking preadv.

Fields and variants ​

Pread ​

Pread

Blocking preadv; a read completes inside WorkerIo::read.

Uring ​

Uring

io_uring: reads are queued, submitted in batches and harvested from the completion queue. Creating the ring fails on a kernel without io_uring support.

Implemented traits ​

impl Clone for IoBackend
impl Debug for IoBackend

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition