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: u8 = 1u8
pub const CODE: u8 = 1u8
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: off64_t) -> Self
sourcepub const fn rw_flags(self, rw_flags: RwFlags) -> Self
pub const fn rw_flags(self, rw_flags: RwFlags) -> Self
specified for read operations, contains a bitwise OR of per-I/O flags,
as described in the preadv2(2)
man page.