future.rs.html -- source
Description: Source to the Rust file `src\libstd\future.rs`.
Keywords: rust, rustlang, rust-lang

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

    //! Asynchronous values.

    #[doc(inline)]
    #[stable(feature = "futures_api", since = "1.36.0")]
    pub use core::future::Future;

    #[doc(inline)]
    #[unstable(feature = "gen_future", issue = "50547")]
    pub use core::future::{from_generator, get_context, ResumeTy};

    #[doc(inline)]
    #[unstable(feature = "future_readiness_fns", issue = "70921")]
    pub use core::future::{pending, ready, Pending, Ready};

    #[doc(inline)]
    #[unstable(feature = "into_future", issue = "67644")]
    pub use core::future::IntoFuture;