Skip to main content

bytes_stream

Function bytes_stream 

Source
pub fn bytes_stream<S>(
    stream: S,
    content_length: usize,
) -> impl Stream<Item = Result<Bytes>> + Send + 'static
where S: Stream<Item = Result<Bytes, Error>> + Send + 'static,