Skip to main content

body_stream_from_bytes

Function body_stream_from_bytes 

Source
pub fn body_stream_from_bytes(
    bytes: Bytes,
) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + Sync>>
Expand description

Creates a single-chunk body stream from bytes.