Skip to main content

stream_compat

Function stream_compat 

Source
pub const fn stream_compat<Pul: Pull>(pull: Pul) -> StreamCompat<Pul>
Expand description

Creates a StreamCompat adapter that wraps a Pull and implements futures_core::stream::Stream.