rust/library/core/src/task/mod.rs
2021-07-28 16:56:12 +02:00

15 lines
418 B
Rust

#![stable(feature = "futures_api", since = "1.36.0")]
//! Types and Traits for working with asynchronous tasks.
mod poll;
#[stable(feature = "futures_api", since = "1.36.0")]
pub use self::poll::Poll;
mod wake;
#[stable(feature = "futures_api", since = "1.36.0")]
pub use self::wake::{Context, RawWaker, RawWakerVTable, Waker};
mod ready;
#[stable(feature = "ready_macro", since = "1.56.0")]
pub use ready::ready;