Debian Codegraph @

third_party/rust/tokio/src/macros/support.rs

raw
1 cfg_macros! {
2 pub use crate::future::poll_fn;
3 pub use crate::future::maybe_done::maybe_done;
4
5 #[doc(hidden)]
6 pub fn thread_rng_n(n: u32) -> u32 {
7 crate::runtime::context::thread_rng_n(n)
8 }
9 }
10
11 pub use std::future::{Future, IntoFuture};
12 pub use std::pin::Pin;
13 pub use std::task::Poll;