pub trait AsyncSliceReaderExt: AsyncSliceReader {
    // Provided method
    async fn read_to_end(&mut self) -> Result<Bytes> { ... }
}
Expand description

Extension trait for AsyncSliceReader.

Provided Methods§

source

async fn read_to_end(&mut self) -> Result<Bytes>

Read the entire resource into a bytes::Bytes buffer, if possible.

Object Safety§

This trait is not object safe.

Implementors§