1macro_rules! ready {
2 ($e:expr) => {
3 match $e {
4 std::task::Poll::Ready(v) => v,
5 std::task::Poll::Pending => return std::task::Poll::Pending,
6 }
7 };
8}
9
10pub(crate) mod buf;
11#[cfg(all(feature = "server", any(feature = "http1", feature = "http2")))]
12pub(crate) mod date;
13#[cfg(all(feature = "server", any(feature = "http1", feature = "http2")))]
14pub(crate) mod drain;
15#[cfg(any(feature = "http1", feature = "http2", feature = "server"))]
16pub(crate) mod exec;
17pub(crate) mod io;
18#[cfg(all(feature = "client", any(feature = "http1", feature = "http2")))]
19mod lazy;
20#[cfg(any(
21 feature = "stream",
22 all(feature = "client", any(feature = "http1", feature = "http2"))
23))]
24pub(crate) mod sync_wrapper;
25#[cfg(feature = "http1")]
26pub(crate) mod task;
27pub(crate) mod watch;
28
29#[cfg(all(feature = "client", any(feature = "http1", feature = "http2")))]
30pub(crate) use self::lazy::{lazy, Started as Lazy};
31