Module socket

Source
Available on crate feature network only.

Structs§

AddrParseError
The error returned when parsing a SocketAddr from a string.
UnixSocketAddr
An address associated with a Unix domain socket.

Enums§

AddrParseErrorKind
ConnectInfo
Connection information for a Stream.
Listener
A listener bound to either a TCP socket or Unix domain socket.
SocketAddr
An address associated with an internet or Unix domain socket.
SocketAddrType
The type of a SocketAddr.
Stream
A stream associated with either a TCP socket or a Unix domain socket.
StreamReadHalf
Read half of a Stream, created by Stream::split.
StreamWriteHalf
Write half of a Stream, created by Stream::split.

Traits§

ToSocketAddrs
Converts or resolves without blocking to one or more SocketAddrs.