Struct trust_dns_resolver::config::NameServerConfig [−][src]
pub struct NameServerConfig {
pub socket_addr: SocketAddr,
pub protocol: Protocol,
pub tls_dns_name: Option<String>,
}
Expand description
Configuration for the NameServer
Fields
socket_addr: SocketAddr
The address which the DNS NameServer is registered at.
protocol: Protocol
The protocol to use when communicating with the NameServer.
tls_dns_name: Option<String>
SPKI name, only relevant for TLS connections
Trait Implementations
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 RefUnwindSafe for NameServerConfig
impl Send for NameServerConfig
impl Sync for NameServerConfig
impl Unpin for NameServerConfig
impl UnwindSafe for NameServerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more