diff options
Diffstat (limited to 'library/core/src/task/mod.rs')
-rw-r--r-- | library/core/src/task/mod.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/library/core/src/task/mod.rs b/library/core/src/task/mod.rs new file mode 100644 index 000000000..c5f89b9a2 --- /dev/null +++ b/library/core/src/task/mod.rs @@ -0,0 +1,17 @@ +#![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.64.0")] +pub use ready::ready; +#[unstable(feature = "poll_ready", issue = "89780")] +pub use ready::Ready; |