futures::prelude::stream

Function pending

Source
pub fn pending<T>() -> Pending<T>
Expand description

Creates a stream which never returns any elements.

The returned stream will always return Pending when polled.