summaryrefslogtreecommitdiffstats
path: root/third_party/rust/mio/src/deprecated/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/mio/src/deprecated/mod.rs')
-rw-r--r--third_party/rust/mio/src/deprecated/mod.rs36
1 files changed, 36 insertions, 0 deletions
diff --git a/third_party/rust/mio/src/deprecated/mod.rs b/third_party/rust/mio/src/deprecated/mod.rs
new file mode 100644
index 0000000000..124a2eee3d
--- /dev/null
+++ b/third_party/rust/mio/src/deprecated/mod.rs
@@ -0,0 +1,36 @@
+#![allow(deprecated)]
+
+mod event_loop;
+mod io;
+mod handler;
+mod notify;
+
+#[cfg(all(unix, not(target_os = "fuchsia")))]
+pub mod unix;
+
+pub use self::event_loop::{
+ EventLoop,
+ EventLoopBuilder,
+ Sender,
+};
+pub use self::io::{
+ TryAccept,
+ TryRead,
+ TryWrite,
+};
+pub use self::handler::{
+ Handler,
+};
+pub use self::notify::{
+ NotifyError,
+};
+#[cfg(all(unix, not(target_os = "fuchsia")))]
+pub use self::unix::{
+ pipe,
+ PipeReader,
+ PipeWriter,
+ UnixListener,
+ UnixSocket,
+ UnixStream,
+ Shutdown,
+};