A future representing a value which may or may not be present.
A future representing a value that is immediately ready.
A future represents an asychronous computation that may fail.
Types that can be converted into a future.
Creates a new future that will immediately fail with the given error.
Creates a new future that will immediately resolve successfully to the given value.
Creates a new future that will immediate resolve with the given result.