futures::future

Function empty

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

Creates a future which never resolves, representing a computation that never finishes.

The returned future will forever return Async::Pending.