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

pub struct TcpClientConnection { /* fields omitted */ }

Tcp client connection

Use with trust_dns::client::Client impls

Methods

impl TcpClientConnection
[src]

[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.

Default connection timeout is 5 seconds

Arguments

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

[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]

The associated DNS Message stream type.

[src]

Return the inner Futures items Read more