Enum rotor_dns::Query
[−]
[src]
pub enum Query { LookupIpv4(String), LookupSrv(String), LookupMx(String), }
Human friendly query types
Variants
LookupIpv4(String)
Simple host lookup (A record)
LookupSrv(String)
Plain SRV record lookup
LookupMx(String)
Plain MX record lookup
Trait Implementations
impl Hash for Query
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Eq for Query
[src]
impl PartialEq for Query
[src]
fn eq(&self, __arg_0: &Query) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Query) -> bool
This method tests for !=
.