mod.rs - source
Description: Source of the Rust file `library/core/src/task/mod.rs`.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

    #![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;