#[repr(C)]pub struct Iovec {
pub iov_base: *mut c_void,
pub iov_len: usize,
}Expand description
Minimal iovec struct matching the Linux ABI for readv.
Fields§
§iov_base: *mut c_voidTarget buffer address for this chunk of the read.
iov_len: usizeByte length of the target buffer.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Iovec
impl !Sync for Iovec
impl Freeze for Iovec
impl RefUnwindSafe for Iovec
impl Unpin for Iovec
impl UnsafeUnpin for Iovec
impl UnwindSafe for Iovec
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