Struct trust_dns_resolver::config::NameServerConfig [] [src]

pub struct NameServerConfig {
    pub socket_addr: SocketAddr,
    pub protocol: Protocol,
}

Configuration for the NameServer

Fields

The address which the DNS NameServer is registered at.

The protocol to use when communicating with the NameServer.

Trait Implementations

impl Clone for NameServerConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NameServerConfig
[src]

Formats the value using the given formatter.

impl Eq for NameServerConfig
[src]

impl PartialEq for NameServerConfig
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.