completeio/event/
mod.rs

1//! Asynchronous events.
2//!
3//! Only for waking up the driver.
4
5cfg_if::cfg_if! {
6    if #[cfg(target_os = "windows")] {
7        mod iocp;
8        pub use iocp::*;
9    } else if #[cfg(any(
10        target_os = "android",
11        target_os = "freebsd",
12        target_os = "illumos",
13        target_os = "linux",
14    ))] {
15        mod eventfd;
16        pub use eventfd::*;
17    } else if #[cfg(unix)] {
18        mod pipe;
19        pub use pipe::*;
20    }
21}