kvarn::preludeTrait AsyncReadExt
pub trait AsyncReadExt: AsyncRead {
Show 29 methods
// Provided methods
fn chain<R>(self, next: R) -> Chain<Self, R>
where Self: Sized,
R: AsyncRead { ... }
fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> Read<'a, Self>
where Self: Unpin { ... }
fn read_buf<'a, B>(&'a mut self, buf: &'a mut B) -> ReadBuf<'a, Self, B>
where Self: Unpin,
B: BufMut + ?Sized { ... }
fn read_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadExact<'a, Self>
where Self: Unpin { ... }
fn read_u8(&mut self) -> ReadU8<&mut Self>
where Self: Unpin { ... }
fn read_i8(&mut self) -> ReadI8<&mut Self>
where Self: Unpin