futures_util::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.