Trait embedded_io::asynch::BufRead
source · pub trait BufRead: Io {
async fn fill_buf(&mut self) -> Result<&[u8], Self::Error>;
fn consume(&mut self, amt: usize);
}
Available on crate feature
async
only.Expand description
Async buffered reader.
Semantics are the same as std::io::BufRead
, check its documentation for details.