1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![stable(feature = "futures_api", since = "1.36.0")]

//! 类型和 Traits 用于处理异步任务。

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.64.0")]
pub use ready::ready;