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 PartialOrd for QType
impl PartialOrd for QType
impl Copy for QType
impl Eq for QType
impl StructuralPartialEq for QType
Auto Trait Implementations§
impl Freeze for QType
impl RefUnwindSafe for QType
impl Send for QType
impl Sync for QType
impl Unpin for QType
impl UnwindSafe for QType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more