Trait BodyExt

Source
pub trait BodyExt: Body {
    // Provided method
    fn into_buf_stream(self) -> IntoBufStream<Self>
       where Self: Sized { ... }
}
Expand description

An extension trait for Body providing additional adapters.

Provided Methods§

Source

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

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

Implementors§

Source§

impl<T: Body> BodyExt for T