Crate net
Available on crate feature
net only.Expand description
Network utilities.
Currently, TCP/UDP/Unix socket are implemented.
Structs§
- Read
Half - Borrowed read half.
- TcpIncoming
- A stream of incoming TCP connections.
- TcpListener
- A TCP socket server, listening for connections.
- TcpSocket
- A TCP socket that has not yet been converted to a
TcpStreamorTcpListener. - TcpStream
- A TCP stream between a local and a remote socket.
- UdpSocket
- A UDP socket.
- Unix
Incoming - A stream of incoming Unix connections.
- Unix
Listener - A Unix socket server, listening for connections.
- Unix
Socket - A Unix socket that has not yet been converted to a
UnixStreamorUnixListener. - Unix
Stream - A Unix stream between two local sockets on Windows & WSL.
- Write
Half - Borrowed write half.
Traits§
- ToSocket
Addrs Async - A trait for objects which can be converted or resolved to one or more
SocketAddrvalues.
Type Aliases§
- PollFd
Deprecated - Providing functionalities to wait for readiness.