Crate futures_core

Source
Expand description

Core traits and types for asynchronous operations in Rust.

Re-exports§

pub use future::Future;
pub use future::IntoFuture;
pub use stream::Stream;
pub use never::Never;

Modules§

executor
Executors.
future
Futures.
never
Definition and trait implementations for the Never type, a stand-in for the ! type until it becomes stable.
stream
Asynchronous streams.
task
Task notification.

Macros§

task_local
A macro to create a static of type LocalKey
try_ready
A macro for extracting the successful type of a Poll<T, E>.

Enums§

Async
Indicates whether a value is available, or if the current task has been scheduled for later wake-up instead.

Type Aliases§

Poll
A convenience wrapper for Result<Async<T>, E>.