Trait compio_io::AsyncBufRead
source · pub trait AsyncBufRead: AsyncRead {
// Required methods
async fn fill_buf(&mut self) -> Result<&[u8]>;
fn consume(&mut self, amount: usize);
}
Expand description
§AsyncBufRead
Async read with buffered content.
Required Methods§
Object Safety§
This trait is not object safe.