Type Alias 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)