]> git.proxmox.com Git - rustc.git/blob - library/std/src/os/unix/net/mod.rs
New upstream version 1.54.0+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 raw_fd;
29 mod stream;
30 #[cfg(all(test, not(target_os = "emscripten")))]
31 mod tests;
32
33 #[stable(feature = "unix_socket", since = "1.10.0")]
34 pub use self::addr::*;
35 #[cfg(any(
36 doc,
37 target_os = "android",
38 target_os = "dragonfly",
39 target_os = "emscripten",
40 target_os = "freebsd",
41 target_os = "linux",
42 target_os = "netbsd",
43 target_os = "openbsd",
44 ))]
45 #[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
46 pub use self::ancillary::*;
47 #[stable(feature = "unix_socket", since = "1.10.0")]
48 pub use self::datagram::*;
49 #[stable(feature = "unix_socket", since = "1.10.0")]
50 pub use self::listener::*;
51 #[stable(feature = "rust1", since = "1.0.0")]
52 pub use self::raw_fd::*;
53 #[stable(feature = "unix_socket", since = "1.10.0")]
54 pub use self::stream::*;