1 | //! Unix-specific networking functionality. |
2 | |
3 | #![allow (irrefutable_let_patterns)] |
4 | #![stable (feature = "unix_socket" , since = "1.10.0" )] |
5 | |
6 | mod addr; |
7 | #[doc (cfg(any(target_os = "android" , target_os = "linux" )))] |
8 | #[cfg (any(doc, target_os = "android" , target_os = "linux" ))] |
9 | mod ancillary; |
10 | mod datagram; |
11 | mod listener; |
12 | mod stream; |
13 | #[cfg (all(test, not(target_os = "emscripten" )))] |
14 | mod tests; |
15 | |
16 | #[stable (feature = "unix_socket" , since = "1.10.0" )] |
17 | pub use self::addr::*; |
18 | #[cfg (any(doc, target_os = "android" , target_os = "linux" ))] |
19 | #[unstable (feature = "unix_socket_ancillary_data" , issue = "76915" )] |
20 | pub use self::ancillary::*; |
21 | #[stable (feature = "unix_socket" , since = "1.10.0" )] |
22 | pub use self::datagram::*; |
23 | #[stable (feature = "unix_socket" , since = "1.10.0" )] |
24 | pub use self::listener::*; |
25 | #[stable (feature = "unix_socket" , since = "1.10.0" )] |
26 | pub use self::stream::*; |
27 | |