[−][src]Trait rttrust::io::bufio::AsRawBuf
Represents type that can serve as (possibly uninitialized) buffer
Required methods
fn as_raw_buf(&mut self) -> *mut [u8]
Returns a pointer to the buffer. It may point to uninitialized data. The pointer must not outlive the buffer.
fn len(&self) -> usize
Returns the length of the buffer.
Implementors
impl<T> AsRawBuf for T where
T: AsRef<[u8]> + AsMut<[u8]>,
[src]
T: AsRef<[u8]> + AsMut<[u8]>,