Expand description
Provides a tokio::TcpStream
like UdpStream implementation based on tokio::UdpSocket
.
Structs§
- UdpListener
- An I/O object representing a UDP socket listening for incoming connections.
- UdpStream
- An I/O object representing a UDP stream connected to a remote endpoint.
- UdpStream
Read Half UdpStream
read-side implementation- UdpStream
Write Half UdpStream
write-side implementation
Functions§
- set_
custom_ timeout - Set custom timeout.
Note that this function can only be called before the [
TIMEOUT
] lazy variable is created.