pub trait OwnedRead: Read {
    fn read(
        &mut self,
        buf: OwnedBuf
    ) -> impl Future<Output = (OwnedBuf, Result<()>)>; async fn read_exact(&mut self, buf: OwnedBuf) -> (OwnedBuf, Result<()>) { ... } async fn read_to_end(&mut self, buf: Vec<u8>) -> (Vec<u8>, Result<usize>) { ... } }

Required Methods

Provided Methods

Implementors