pub trait ReadExt: Read {
// Provided methods
fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadFuture<'a, Self> { ... }
fn seek(&mut self, pos: SeekFrom) -> SeekFuture<'_, Self> { ... }
fn next(&mut self) -> NextFuture<'_, Self> { ... }
}
Expand description
Extension of Read
to make it easier for use.