std/os/unix/net/
mod.rs
1#![allow(irrefutable_let_patterns)]
4#![stable(feature = "unix_socket", since = "1.10.0")]
5
6mod addr;
7#[doc(cfg(any(target_os = "android", target_os = "linux")))]
8#[cfg(any(doc, target_os = "android", target_os = "linux"))]
9mod ancillary;
10mod datagram;
11mod listener;
12mod stream;
13#[cfg(all(test, not(target_os = "emscripten")))]
14mod tests;
15#[cfg(any(
16 target_os = "android",
17 target_os = "linux",
18 target_os = "dragonfly",
19 target_os = "freebsd",
20 target_os = "netbsd",
21 target_os = "openbsd",
22 target_os = "nto",
23 target_vendor = "apple",
24))]
25mod ucred;
26
27#[stable(feature = "unix_socket", since = "1.10.0")]
28pub use self::addr::*;
29#[cfg(any(doc, target_os = "android", target_os = "linux"))]
30#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
31pub use self::ancillary::*;
32#[stable(feature = "unix_socket", since = "1.10.0")]
33pub use self::datagram::*;
34#[stable(feature = "unix_socket", since = "1.10.0")]
35pub use self::listener::*;
36#[stable(feature = "unix_socket", since = "1.10.0")]
37pub use self::stream::*;
38#[cfg(any(
39 target_os = "android",
40 target_os = "linux",
41 target_os = "dragonfly",
42 target_os = "freebsd",
43 target_os = "netbsd",
44 target_os = "openbsd",
45 target_os = "nto",
46 target_vendor = "apple",
47))]
48#[unstable(feature = "peer_credentials_unix_socket", issue = "42839", reason = "unstable")]
49pub use self::ucred::*;