Skip to main content

Crate net

Crate net 

Source
Available on crate feature net only.
Expand description

Network utilities.

Currently, TCP/UDP/Unix socket are implemented.

Structs§

ReadHalf
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 TcpStream or TcpListener.
TcpStream
A TCP stream between a local and a remote socket.
UdpSocket
A UDP socket.
UnixIncoming
A stream of incoming Unix connections.
UnixListener
A Unix socket server, listening for connections.
UnixSocket
A Unix socket that has not yet been converted to a UnixStream or UnixListener.
UnixStream
A Unix stream between two local sockets on Windows & WSL.
WriteHalf
Borrowed write half.

Traits§

ToSocketAddrsAsync
A trait for objects which can be converted or resolved to one or more SocketAddr values.

Type Aliases§

PollFdDeprecated
Providing functionalities to wait for readiness.