Struct rustix_uring::opcode::Readv
source · pub struct Readv { /* private fields */ }
Expand description
Vectored read, equivalent to preadv2(2)
.
Implementations§
source§impl Readv
impl Readv
pub fn new(fd: impl UseFixed, iovec: *const iovec, len: u32) -> Self
sourcepub const CODE: IoringOp = _
pub const CODE: IoringOp = _
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub const fn ioprio(self, ioprio: u16) -> Self
pub const fn offset64(self, offset64: u64) -> Self
sourcepub const fn rw_flags(self, rw_flags: ReadWriteFlags) -> Self
pub const fn rw_flags(self, rw_flags: ReadWriteFlags) -> Self
specified for read operations, contains a bitwise OR of per-I/O flags,
as described in the preadv2(2)
man page.