Skip to main content

stream

Function stream 

Source
pub const fn stream<S: Stream>(stream: S) -> Stream<S>
Expand description

Creates a pull from a futures::Stream.

The resulting pull requires &mut Context<'_> to be polled and can both pend and end.