#[repr(u16)]pub enum QType {
Show 15 variants
A = 1,
NS = 2,
CNAME = 5,
SOA = 6,
WKS = 11,
PTR = 12,
HINFO = 13,
MINFO = 14,
MX = 15,
TXT = 16,
RP = 17,
AAAA = 28,
SRV = 33,
OPT = 41,
ANY = 255,
}
Variants§
A = 1
NS = 2
CNAME = 5
SOA = 6
WKS = 11
PTR = 12
HINFO = 13
MINFO = 14
MX = 15
TXT = 16
RP = 17
AAAA = 28
SRV = 33
OPT = 41
ANY = 255
Trait Implementations§
source§impl Ord for QType
impl Ord for QType
source§impl PartialEq for QType
impl PartialEq for QType
source§impl PartialOrd for QType
impl PartialOrd 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 moreimpl 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