Function ntex::util::stream_recv[][src]

pub async fn stream_recv<S>(stream: &'_ mut S) -> Option<<S as Stream>::Item> where
    S: Stream + Unpin
Expand description

Creates a future that resolves to the next item in the stream.