polling/os.rs
1//! Platform-specific functionality.
2
3#[cfg(all(
4 any(
5 target_vendor = "apple",
6 target_os = "freebsd",
7 target_os = "netbsd",
8 target_os = "openbsd",
9 target_os = "dragonfly",
10 ),
11 not(polling_test_poll_backend),
12))]
13pub mod kqueue;
14
15#[cfg(target_os = "windows")]
16pub mod iocp;
17
18mod __private {
19 #[doc(hidden)]
20 #[allow(dead_code)]
21 pub trait PollerSealed {}
22
23 impl PollerSealed for crate::Poller {}
24}