pub struct WritevFixed { /* private fields */ }
Expand description
Vectored write from a fixed buffer, equivalent to pwritev2(2)
.
Implementations§
Source§impl WritevFixed
impl WritevFixed
Sourcepub const CODE: u8 = 61u8
pub const CODE: u8 = 61u8
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 fn new( fd: impl UseFixed, iovec: *const iovec, len: u32, buf_index: u16, ) -> Self
pub const fn ioprio(self, ioprio: u16) -> Self
pub const fn offset(self, offset: u64) -> Self
pub const fn rw_flags(self, rw_flags: i32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for WritevFixed
impl RefUnwindSafe for WritevFixed
impl !Send for WritevFixed
impl !Sync for WritevFixed
impl Unpin for WritevFixed
impl UnwindSafe for WritevFixed
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