Skip to main content

to_bytes

Function to_bytes 

Source
pub async fn to_bytes<T>(body: T) -> Result<Bytes, T::Error>
where T: Body,
Expand description

Collects all of the data frames from this body into Bytes.