Struct rustun::client::UdpClient [] [src]

pub struct UdpClient(_);

A Client trait implementation which uses UdpTransport as the transport layer.

Methods

impl UdpClient
[src]

Makes a future that results in a UdpClient instance which communicates with server.

If you want to customize the settings of UdpClient, please use with_transport function instead.

Makes a future that results in a UdpClient instance which communicates with server.

The resulting UdpClient uses transport as the UDP transport layer.

Trait Implementations

impl Client for UdpClient
[src]

Future type to handle a request/response transaction using RawMessage.

Future type to handle a indication transaction using RawMessage.

Makes a Future that sends the raw request message to a server and waits the response from it. Read more

Makes a Future that sends the raw indication message to a server.

Makes a Future that sends the request message to a server and waits the response from it. Read more

Makes a Future that sends the indication message to a server.