Expand description
A capability-based network API modeled after async_std::net
.
This corresponds to async_std::net
.
Instead of async_std::net
’s constructor methods which take an address
to connect to, this crates has methods on Pool
which operate on
addresses which must be present in the pool.
Structs§
- An error which can be returned when parsing an IP address or a socket address.
- An iterator that infinitely
accept
s connections on aTcpListener
. - An IPv4 address.
- An IPv6 address.
- A pool of network addresses.
- An IPv4 socket address.
- An IPv6 socket address.
- A TCP socket server, listening for connections.
- A TCP stream between a local and a remote socket.
- A UDP socket.
Enums§
- An IP address, either IPv4 or IPv6.
- Possible values which can be passed to the
TcpStream::shutdown
method. - An internet socket address, either IPv4 or IPv6.
Traits§
- Converts or resolves addresses to
SocketAddr
values.