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§
Sourcefn into_buf_stream(self) -> IntoBufStream<Self>where
Self: Sized,
fn into_buf_stream(self) -> IntoBufStream<Self>where
Self: Sized,
Wrap the Body so that it implements tokio_buf::BufStream directly.