Struct trust_dns::tcp::TcpClientConnection [] [src]

pub struct TcpClientConnection { /* fields omitted */ }

TCP based DNS client

Methods

impl TcpClientConnection
[src]

Creates a new client connection.

Note this has side affects of establishing the connection to the specified DNS server and starting the event_loop. Expect this to change in the future.

Arguments

  • name_server - address of the name server to use for queries

Trait Implementations

impl ClientConnection for TcpClientConnection
[src]

Sends a serialized message to via this connection, returning the serialized response. Read more

impl Debug for TcpClientConnection
[src]

Formats the value using the given formatter.