pub struct IovIter { /* private fields */ }
Expand description
Trait Implementations
sourceimpl IoBufferReader for IovIter
impl IoBufferReader for IovIter
sourcefn len(&self) -> usize
fn len(&self) -> usize
Returns the number of bytes left to be read from the io buffer. Read more
sourceunsafe fn read_raw(&mut self, out: *mut u8, len: usize) -> Result
unsafe fn read_raw(&mut self, out: *mut u8, len: usize) -> Result
Reads raw data from the io buffer into a raw kernel buffer. Read more
sourcefn read_slice(&mut self, data: &mut [u8]) -> Result
fn read_slice(&mut self, data: &mut [u8]) -> Result
Reads a byte slice from the io buffer. Read more
sourcefn read<T: ReadableFromBytes>(&mut self) -> Result<T>
fn read<T: ReadableFromBytes>(&mut self) -> Result<T>
Reads the contents of a plain old data (POD) type from the io buffer.
sourceimpl IoBufferWriter for IovIter
impl IoBufferWriter for IovIter
sourcefn len(&self) -> usize
fn len(&self) -> usize
Returns the number of bytes left to be written into the io buffer. Read more
sourceunsafe fn write_raw(&mut self, data: *const u8, len: usize) -> Result
unsafe fn write_raw(&mut self, data: *const u8, len: usize) -> Result
Writes raw data to the io buffer from a raw kernel buffer. Read more
sourcefn write_slice(&mut self, data: &[u8]) -> Result
fn write_slice(&mut self, data: &[u8]) -> Result
Writes a byte slice into the io buffer. Read more
sourcefn write<T: WritableToBytes>(&mut self, data: &T) -> Result
fn write<T: WritableToBytes>(&mut self, data: &T) -> Result
Writes the contents of the given data into the io buffer.
Auto Trait Implementations
impl RefUnwindSafe for IovIter
impl !Send for IovIter
impl !Sync for IovIter
impl Unpin for IovIter
impl UnwindSafe for IovIter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more