core::future - Rust
Description: API documentation for the Rust `future` mod in crate `core`.
Keywords: rust, rustlang, rust-lang, future

# 1.36.0[−][src]Module core::future

Asynchronous values.

## Structs

Pending | Creates a future which never resolves, representing a computation that never finishes.
Ready | Creates a future that is immediately ready with a value.
PollFn | Experimental A Future that wraps a function returning `Poll`.

## Traits

Future | A future represents an asynchronous computation.
IntoFuture | Experimental Conversion into a `Future`.

## Functions

pending | Creates a future which never resolves, representing a computation that never finishes.
ready | Creates a future that is immediately ready with a value.
poll_fn | Experimental Creates a future that wraps a function returning `Poll`.