Trait aral_runtime_async_std::io::BufRead
source · pub trait BufRead: Read {
// Required methods
fn fill_buf(&mut self) -> impl Future<Output = Result<&[u8]>> + Send;
fn consume(&mut self, amt: usize);
}
Required Methods§
fn fill_buf(&mut self) -> impl Future<Output = Result<&[u8]>> + Send
fn consume(&mut self, amt: usize)
Object Safety§
This trait is not object safe.