Enum trust_dns_resolver::config::Protocol
[−]
[src]
pub enum Protocol { Udp, Tcp, }
The protocol on which a NameServer should be communicated with
Variants
Udp
UDP is the traditional DNS port, this is generally the correct choice
Tcp
TCP can be used for large queries, but not all NameServers support it
Trait Implementations
impl Clone for Protocol
[src]
fn clone(&self) -> Protocol
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more