pub struct Readv { /* private fields */ }
Expand description
Vectored read operations, similar to preadv2 (2)
.
The return values match those documented in the preadv2 (2)
man pages.
Implementations§
Source§impl Readv
impl Readv
pub const fn new(fd: Target, iovec: *mut iovec, len: u32) -> Self
pub const fn ioprio(self, ioprio: u16) -> Self
pub const fn offset(self, offset: off_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.
pub fn build(self) -> Entry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Readv
impl RefUnwindSafe for Readv
impl !Send for Readv
impl !Sync for Readv
impl Unpin for Readv
impl UnwindSafe for Readv
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more