std1.0.0-beta-7 SafeC docs

std :: async::future

Struct std::Ready

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

generic<T> struct Ready {
    T value;
    int done;
}

Ready with a value on the first poll (Rust's future::ready).

Fields

§T valuesource
§int donesource

Methods

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