Expand description
Types used for networking (tokio implementation)
MacrosΒ§
- stream_
impl π - Provide a set of network stream wrappers for a single stream type.
StructsΒ§
- Incoming
TcpStreams - Asynchronous stream that yields incoming connections from a Tcp Listener.
- Incoming
Unix Streams - Asynchronous stream that yields incoming connections from a Unix Listener.
- TcpListener
- Wrap a Tokio Tcp Listener to behave as a futures::io::TcpListener.
- TcpStream
- Wrapper for Tokioβs Tcp streams, that implements the standard AsyncRead and AsyncWrite.
- Tokio
TcpListener π - A TCP socket server, listening for connections.
- Tokio
TcpStream π - A TCP stream between a local and a remote socket.
- Tokio
UdpSocket π - A UDP socket.
- Tokio
Unix πListener - A Unix socket which can accept connections from other Unix sockets.
- Tokio
Unix πStream - A structure representing a connected Unix socket.
- UdpSocket
- Wrap a Tokio UdpSocket
- Unix
Listener - Wrap a Tokio Unix Listener to behave as a futures::io::TcpListener.
- Unix
Stream - Wrapper for Tokioβs Unix streams, that implements the standard AsyncRead and AsyncWrite.
FunctionsΒ§
- identity_
fn_ πsocketaddr - Wrapper for (not) converting std::net::SocketAddr to itself.
- try_
cvt_ πtokio_ unix_ addr - Try to convert a tokio
unix::SocketAddrinto a crate::SocketAddr.