pub enum QType {
A,
Ns,
Cname,
Mx,
Txt,
Aaaa,
All,
Unknown(u16),
}
Expand description
The type of Question.
Variants§
A
A host address (IPv4)
Ns
An authoritative name server
Cname
The canonical name for an alias
Mx
A mail exchange
Txt
Text strings
Aaaa
A host address (IPv6)
All
All types
Unknown(u16)
?: A value has been received that does not correspond to any known qtype.
Trait Implementations§
source§impl PartialEq<QType> for QType
impl PartialEq<QType> for QType
source§impl PartialOrd<QType> for QType
impl PartialOrd<QType> for QType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more