std/os/unix/net/
mod.rs

1//! Unix-specific networking functionality.
2
3#![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    target_os = "cygwin"
25))]
26mod ucred;
27
28#[stable(feature = "unix_socket", since = "1.10.0")]
29pub use self::addr::*;
30#[cfg(any(doc, target_os = "android", target_os = "linux"))]
31#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
32pub use self::ancillary::*;
33#[stable(feature = "unix_socket", since = "1.10.0")]
34pub use self::datagram::*;
35#[stable(feature = "unix_socket", since = "1.10.0")]
36pub use self::listener::*;
37#[stable(feature = "unix_socket", since = "1.10.0")]
38pub use self::stream::*;
39#[cfg(any(
40    target_os = "android",
41    target_os = "linux",
42    target_os = "dragonfly",
43    target_os = "freebsd",
44    target_os = "netbsd",
45    target_os = "openbsd",
46    target_os = "nto",
47    target_vendor = "apple",
48    target_os = "cygwin",
49))]
50#[unstable(feature = "peer_credentials_unix_socket", issue = "42839", reason = "unstable")]
51pub use self::ucred::*;