Appearance
cellpack::loader::IoBackend
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
PreadBlocking preadv; a read completes inside WorkerIo::read.
Uring
Uringio_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
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.