pub trait ReadBuffer {
// Required method
fn read_buffer(&self) -> (Option<*const u8>, u32);
}Expand description
Return a read-only pointer to a buffer and the actual number of bytes stored in the buffer.
This trait is used internally by read_buffer to provide read-only access to a buffer
after the operating system call was successful.