http-body
http-body copied to clipboard
util: add `Collected::to_bytes_mut`
This would allow extracting body to BytesMut. This should have exactly the same performance as collecting to Bytes, if there is more than one buf in the BufList, but it doesn't freeze the Bytes.
Related axum issue