Enum trust_dns_resolver::config::Protocol [−][src]
pub enum Protocol {
Udp,
Tcp,
}
Expand description
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
Implementations
Returns true if this is a datagram oriented protocol, e.g. UDP
Is this an encrypted protocol, i.e. TLS or HTTPS
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Protocol
impl UnwindSafe for Protocol
Blanket Implementations
Mutably borrows from an owned value. Read more