[][src]Struct futures_util::stream::Empty

#[must_use = "streams do nothing unless polled"]
pub struct Empty<T> { /* fields omitted */ }

A stream which contains no elements.

This stream can be created with the stream::empty function.

Trait Implementations

impl<T: Debug> Debug for Empty<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Unpin for Empty<T>
[src]

impl<T> Stream for Empty<T>
[src]

Values yielded by the stream.

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl<T> Send for Empty<T> where
    T: Send

impl<T> Sync for Empty<T> where
    T: Sync