Expand description
Contains UDP socket-related helpers.
Structsยง
- Connected
UdpStream - Mimics TCP-like stream functionality on a UDP socket by restricting it to a single
counterparty and implements [
tokio::io::AsyncRead] and [tokio::io::AsyncWrite]. The instance must always be constructed using aUdpStreamBuilder. - METRIC_
UDP_ ๐EGRESS_ LEN - METRIC_
UDP_ ๐INGRESS_ LEN - UdpStream
Builder - Builder object for the
ConnectedUdpStream.
Enumsยง
- Foreign
Data Mode - Defines what happens when data from another
SocketAddrarrives into theConnectedUdpStream(other than the one that is considered a counterparty for that instance). - State ๐
- UdpStream
Parallelism - Determines how many parallel readers or writer sockets should be bound in
ConnectedUdpStream.
Constantsยง
Type Aliasesยง
- BoxIo
Sink ๐