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§
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)
Object Safety§
This trait is not object safe.