1 #![allow(deprecated)]
2 
3 mod event_loop;
4 mod io;
5 mod handler;
6 mod notify;
7 
8 #[cfg(all(unix, not(target_os = "fuchsia")))]
9 pub mod unix;
10 
11 pub use self::event_loop::{
12     EventLoop,
13     EventLoopBuilder,
14     Sender,
15 };
16 pub use self::io::{
17     TryAccept,
18     TryRead,
19     TryWrite,
20 };
21 pub use self::handler::{
22     Handler,
23 };
24 pub use self::notify::{
25     NotifyError,
26 };
27 #[cfg(all(unix, not(target_os = "fuchsia")))]
28 pub use self::unix::{
29     pipe,
30     PipeReader,
31     PipeWriter,
32     UnixListener,
33     UnixSocket,
34     UnixStream,
35     Shutdown,
36 };
37