Struct trust_dns::udp::UdpClientConnection [] [src]

pub struct UdpClientConnection {
    // some fields omitted
}

Methods

impl UdpClientConnection
[src]

fn new(name_server: SocketAddr) -> ClientResult<Self>

Trait Implementations

impl Debug for UdpClientConnection
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl ClientConnection for UdpClientConnection
[src]

fn send(&mut self, buffer: &[u8]) -> ClientResult<Vec<u8>>

send the message to the specified address