tokio/macros/
support.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
cfg_macros! {
    pub use crate::future::poll_fn;
    pub use crate::future::maybe_done::maybe_done;

    #[doc(hidden)]
    pub fn thread_rng_n(n: u32) -> u32 {
        crate::runtime::context::thread_rng_n(n)
    }
}

pub use std::future::Future;
pub use std::pin::Pin;
pub use std::task::Poll;