Module util

Source

Structs§

CombineNet
A new Net calls tcp_connect(), tcp_bind(), udp_bind() from different Net.
NotImplementedNet
A no-op Net returns Error::NotImplemented for every method.
PeekableTcpStream

Functions§

connect_tcp
Connect two TcpStream
connect_udp
copy_bidirectional
Copies data in both directions between a and b.
get_one_net

Type Aliases§

BoxFuture