pub struct Writev { /* private fields */ }
Expand description
Vectored write operations, similar to pwritev2 (2)
.
The return values match those documented in the pwritev2 (2)
man pages.
Implementations§
Source§impl Writev
impl Writev
pub const fn new(fd: Target, iovec: *const 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 write 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 Writev
impl RefUnwindSafe for Writev
impl !Send for Writev
impl !Sync for Writev
impl Unpin for Writev
impl UnwindSafe for Writev
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