Expand description
A unix domain sockets library that supports abstract addresses, fd-passing, SOCK_SEQPACKET sockets and more.
File-descriptor passing and abstract socket support
for stream and datagram sockets is provided via extension traits for
existing types in std::os::unix::net
and from mio
(the latter is opt-in and must be enabled with features=["mio_08"]
in Cargo.toml).
See README for status of operating system support and other general info.
Modules
- Provides support for
SEQPACKET
sockets in Tokio.
Structs
- An unix domain sequential packet connection.
- An unix domain listener for sequential packet connections.
- A unix domain socket address.
Enums
- An enum representation of an unix socket address.
- Credentials of the peer process when it called
connect()
,accept()
orpair()
.
Traits
- Extension trait for
std::os::unix::net::UnixDatagram
and nonblocking equivalents. - Extension trait for using
UnixSocketAddr
withUnixListener
types. - Extension trait for
std::os::unix::net::UnixStream
and nonblocking equivalents.