pub struct ReadvFixed { /* private fields */ }
Expand description
Vectored read into a fixed buffer, equivalent to preadv2(2)
.
Implementations§
Source§impl ReadvFixed
impl ReadvFixed
Sourcepub const CODE: u8 = 60u8
pub const CODE: u8 = 60u8
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 ReadvFixed
impl RefUnwindSafe for ReadvFixed
impl !Send for ReadvFixed
impl !Sync for ReadvFixed
impl Unpin for ReadvFixed
impl UnwindSafe for ReadvFixed
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