Expand description
Network related.
Currently, TCP/UDP/Unix socket are implemented.
Structs§
- CMsg
Builder - Helper to construct control message.
- CMsg
Iter - An iterator for control messages.
- CMsgRef
- Reference to a control message.
- Owned
Read Half - Owned read half.
- Owned
Write Half - Owned write half.
- PollFd
- A wrapper for socket, providing functionalities to wait for readiness.
- Read
Half - Borrowed read half.
- Reunite
Error - Error indicating that two halves were not from the same socket, and thus could not be reunited.
- TcpListener
- A TCP socket server, listening for connections.
- TcpStream
- A TCP stream between a local and a remote socket.
- UdpSocket
- A UDP socket.
- Unix
Listener - A Unix socket server, listening for connections.
- 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
SocketAddr
values.