pub fn new_infallible_sized_stream<S: Stream<Item = Bytes>>(
    size: u64,
    stream: S
) -> SizedStream<InfallibleStream<S>>
Expand description

Constructs a new SizedStream from an infallible byte chunk stream.

This could be stabilized into Actix Web as SizedStream::from_infallible().