Skip to main content

buffered

Function buffered 

Source
pub fn buffered(bytes: Bytes) -> ByteBody
Expand description

Wraps fully-buffered bytes as a ByteBody. The buffered body is infallible; match never {} discharges its Infallible error into BodyError.