Function hyper::body::aggregate [−][src]
pub async fn aggregate<T>(body: T) -> Result<impl Buf, T::Error> where
T: HttpBody,
Aggregate the data buffers from a body asynchronously.
The returned impl Buf
groups the Buf
s from the HttpBody
without
copying them. This is ideal if you don’t require a contiguous buffer.