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

pub struct NameServerConfig {
    pub socket_addr: SocketAddr,
    pub protocol: Protocol,
    pub tls_dns_name: Option<String>,
}

Configuration for the NameServer

Fields

The address which the DNS NameServer is registered at.

The protocol to use when communicating with the NameServer.

SPKI name, only relavent for TLS connections

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. Read more

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 !=.

Auto Trait Implementations

impl Send for NameServerConfig

impl Sync for NameServerConfig