Trait base::iobuf::PlatformIoBuf

source ·
pub(crate) trait PlatformIoBuf {
    // Required methods
    fn new(ptr: *mut u8, len: usize) -> Self;
    fn len(&self) -> usize;
    fn ptr(&self) -> *mut u8;
    fn set_len(&mut self, len: usize);
    fn set_ptr(&mut self, ptr: *mut u8);
}

Required Methods§

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)

Object Safety§

This trait is not object safe.

Implementors§