]> git.proxmox.com Git - rustc.git/blob - library/std/src/os/unix/net/mod.rs
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / library / std / src / os / unix / net / mod.rs
1 //! Unix-specific networking functionality
2
3 #![stable(feature = "unix_socket", since = "1.10.0")]
4
5 mod addr;
6 #[doc(cfg(any(
7 target_os = "android",
8 target_os = "dragonfly",
9 target_os = "emscripten",
10 target_os = "freebsd",
11 target_os = "linux",
12 target_os = "netbsd",
13 target_os = "openbsd",
14 )))]
15 #[cfg(any(
16 doc,
17 target_os = "android",
18 target_os = "dragonfly",
19 target_os = "emscripten",
20 target_os = "freebsd",
21 target_os = "linux",
22 target_os = "netbsd",
23 target_os = "openbsd",
24 ))]
25 mod ancillary;
26 mod datagram;
27 mod listener;
28 mod stream;
29 #[cfg(all(test, not(target_os = "emscripten")))]
30 mod tests;
31
32 #[stable(feature = "unix_socket", since = "1.10.0")]
33 pub use self::addr::*;
34 #[cfg(any(
35 doc,
36 target_os = "android",
37 target_os = "dragonfly",
38 target_os = "emscripten",
39 target_os = "freebsd",
40 target_os = "linux",
41 target_os = "netbsd",
42 target_os = "openbsd",
43 ))]
44 #[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
45 pub use self::ancillary::*;
46 #[stable(feature = "unix_socket", since = "1.10.0")]
47 pub use self::datagram::*;
48 #[stable(feature = "unix_socket", since = "1.10.0")]
49 pub use self::listener::*;
50 #[stable(feature = "unix_socket", since = "1.10.0")]
51 pub use self::stream::*;