manual_future
Explicitly completed Future
type for Rust, similar to Java's CompletableFuture
Example
// create a new, incomplete ManualFuture
let = new;
// complete the future with a value
completer.complete.await;
// retrieve the value from the future
assert_eq!;
// you can also create ManualFuture instances that are already completed
assert_eq!;