Tutorial by Topics: futures

futures-rs is a library that implements zero-cost futures and streams in Rust. The core concepts of the futures crate are Future and Stream.
Promises and Futures are used to ferry a single object from one thread to another. A std::promise object is set by the thread which generates the result. A std::future object can be used to retrieve a value, to test to see if a value is available, or to halt execution until the value is available....

Page 1 of 1