pub fn pending<T>() -> Pending<T>ⓘ
Creates a future which never resolves, representing a computation that never finishes.
use std::future; let future = future::pending(); let () = future.await; unreachable!();