Enum trust_dns_resolver::config::Protocol [] [src]

pub enum Protocol {
    Udp,
    Tcp,
}

The protocol on which a NameServer should be communicated with

Variants

UDP is the traditional DNS port, this is generally the correct choice

TCP can be used for large queries, but not all NameServers support it

Trait Implementations

impl Clone for Protocol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Protocol
[src]

Formats the value using the given formatter.

impl Eq for Protocol
[src]

impl PartialEq for Protocol
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.