Expand description
Uniform interface to send/recv UDP packets with ECN information.
Structs§
- Capabilities
- The capabilities a UDP socket supports on a certain platform
- Five
Tuple - Five Tuple consists of local address, peer address and protocol
- Four
Tuple - Four Tuple consists of local address and peer address
- Recv
Meta - Transmit
- Transport
Context - Transport Context with local address, peer address, ECN, protocol, etc.
- Transport
Message - A generic transmit with TransportContext
- UdpSock
Ref - A borrowed UDP socket
- UdpSocket
- UdpSocket
State - Tokio-compatible UDP socket with some useful specializations.
Enums§
- EcnCodepoint
- Explicit congestion notification codepoint
- Transport
Protocol - Type of transport protocol, either UDP or TCP
Constants§
- BATCH_
SIZE - Number of UDP packets to send/receive at a time
Traits§
- Async
UdpSocket - Abstract implementation of a UDP socket for runtime independence
Type Aliases§
- Tagged
Bytes Mut - BytesMut type transmit with TransportContext
- Tagged
String - String type transmit with TransportContext