pub fn buffered(bytes: Bytes) -> ByteBody
Wraps fully-buffered bytes as a ByteBody. The buffered body is infallible; match never {} discharges its Infallible error into BodyError.
ByteBody
match never {}
Infallible
BodyError