[][src]Trait tower_http_util::body::BodyExt

pub trait BodyExt: Body {
    fn into_buf_stream(self) -> IntoBufStream<Self>
    where
        Self: Sized
, { ... } }

An extension trait for Body providing additional adapters.

Provided methods

fn into_buf_stream(self) -> IntoBufStream<Self> where
    Self: Sized

Wrap the Body so that it implements tokio_buf::BufStream directly.

Loading content...

Implementors

impl<T: Body> BodyExt for T[src]

fn into_buf_stream(self) -> IntoBufStream<Self> where
    Self: Sized
[src]

Loading content...