Skip to main content

bytes_stream

Function bytes_stream 

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

Yield in-memory bytes as bounded chunks (zero-copy slices of one allocation).