Function actix_web_lab::body::new_infallible_sized_stream
source ยท 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()
.