Type Alias base::sys::unix::IoBuf

source ·
pub type IoBuf = iovec;
Expand description

Cross platform binary compatible iovec. See crate::IoBufMut for documentation.

Aliased Type§

struct IoBuf {
    pub iov_base: *mut c_void,
    pub iov_len: usize,
}

Fields§

§iov_base: *mut c_void§iov_len: usize

Trait Implementations§

source§

impl PlatformIoBuf for IoBuf

source§

fn new(ptr: *mut u8, len: usize) -> Self

source§

fn len(&self) -> usize

source§

fn ptr(&self) -> *mut u8

source§

fn set_len(&mut self, len: usize)

source§

fn set_ptr(&mut self, ptr: *mut u8)