Trait fire_http_representation::bytes_stream::BytesStreamExt[][src]

pub trait BytesStreamExt: BytesStream {
    fn next_bytes<'a>(&'a mut self) -> NextBytes<'a, Self>
    where
        Self: Unpin
, { ... } }
Expand description

An extension trait implemented for all BytesStream types.

Provided methods

fn next_bytes<'a>(&'a mut self) -> NextBytes<'a, Self> where
    Self: Unpin
[src]

returns the next bytes.

Equivalent to:

async fn next_bytes(&mut self) -> io::Result<Option<Bytes>>;

Implementors