[][src]Module tokio::net::udp

UDP bindings for tokio.

The main struct for UDP is the UdpSocket, which represents a UDP socket. Reading and writing to it can be done using futures, which return the Recv, Send, RecvFrom, SendTo structs respectively.

Modules

split

UdpSocket split support.

Structs

UdpFramed

A unified Stream and Sink interface to an underlying UdpSocket, using the Encoder and Decoder traits to encode and decode frames.

UdpSocket

An I/O object representing a UDP socket.