pub const fn stream<S: Stream>(stream: S) -> Stream<S>
Creates a pull from a futures::Stream.
futures::Stream
The resulting pull requires &mut Context<'_> to be polled and can both pend and end.
&mut Context<'_>