Function tokio::prelude::stream::empty

source ·
pub fn empty<T, E>() -> Empty<T, E>
Expand description

Creates a stream which contains no elements.

The returned stream will always return Ready(None) when polled.