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§
- nonblocking
- tokio
- Provides support for
SEQPACKET
sockets in Tokio.
Structs§
- Unix
Seqpacket Conn - An unix domain sequential packet connection.
- Unix
Seqpacket Listener - An unix domain listener for sequential packet connections.
- Unix
Socket Addr - A unix domain socket address.
Enums§
- Addr
Name - An enum representation of an unix socket address.
- Conn
Credentials - Credentials of the peer process when it called
connect()
,accept()
orpair()
.
Traits§
- Unix
Datagram Ext - Extension trait for
std::os::unix::net::UnixDatagram
and nonblocking equivalents. - Unix
Listener Ext - Extension trait for using
UnixSocketAddr
withUnixListener
types. - Unix
Stream Ext - Extension trait for
std::os::unix::net::UnixStream
and nonblocking equivalents.