Struct trust_dns_resolver::config::NameServerConfig
[−]
[src]
pub struct NameServerConfig {
pub socket_addr: SocketAddr,
pub protocol: Protocol,
}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.
Trait Implementations
impl Clone for NameServerConfig[src]
fn clone(&self) -> NameServerConfig[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for NameServerConfig[src]
impl Eq for NameServerConfig[src]
impl PartialEq for NameServerConfig[src]
fn eq(&self, __arg_0: &NameServerConfig) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &NameServerConfig) -> bool[src]
This method tests for !=.