rustix/event/
mod.rs

1//! Event operations.
2
3#[cfg(any(linux_kernel, target_os = "illumos", target_os = "redox"))]
4pub mod epoll;
5#[cfg(any(
6    linux_kernel,
7    target_os = "freebsd",
8    target_os = "illumos",
9    target_os = "espidf"
10))]
11mod eventfd;
12#[cfg(all(feature = "alloc", bsd))]
13pub mod kqueue;
14#[cfg(not(any(windows, target_os = "redox", target_os = "wasi")))]
15mod pause;
16mod poll;
17#[cfg(solarish)]
18pub mod port;
19#[cfg(any(bsd, linux_kernel, windows, target_os = "wasi"))]
20mod select;
21
22#[cfg(any(
23    linux_kernel,
24    target_os = "freebsd",
25    target_os = "illumos",
26    target_os = "espidf"
27))]
28pub use eventfd::{eventfd, EventfdFlags};
29#[cfg(not(any(windows, target_os = "redox", target_os = "wasi")))]
30pub use pause::*;
31pub use poll::{poll, PollFd, PollFlags};
32#[cfg(any(bsd, linux_kernel, windows, target_os = "wasi"))]
33pub use select::*;