Available on crate feature
runtime
only.Expand description
Network related.
Currently, TCP/UDP/Unix socket are implemented.
Structs§
- Helper to construct control message.
- An iterator for control messages.
- Reference to a control message.
- Owned read half.
- Owned write half.
- A wrapper for socket, providing functionalities to wait for readiness.
- Borrowed read half.
- Error indicating that two halves were not from the same socket, and thus could not be reunited.
- A TCP socket server, listening for connections.
- A TCP stream between a local and a remote socket.
- A UDP socket.
- A Unix socket server, listening for connections.
- A Unix stream between two local sockets on Windows & WSL.
- Borrowed write half.
Traits§
- A trait for objects which can be converted or resolved to one or more
SocketAddr
values.