std1.0.0-beta-7 SafeC docs

std :: async::future

Struct std::Pending

#include <std/async/future.h> source

generic<T> struct Pending { }

Never ready (Rust's future::pending): useful in select/timeouts, tests.

Methods

§static struct Pending<T> new()source · definition
§struct Poll<T> poll(&Context cx)source · definition
§void drop()source · definition