[][src]Enum dnsparse::QueryKind

#[repr(u16)]pub enum QueryKind {
    A,
    NS,
    MD,
    MF,
    CNAME,
    SOA,
    MB,
    MG,
    MR,
    NULL,
    WKS,
    PTR,
    HINFO,
    MINFO,
    MX,
    TXT,
    AXFR,
    MAILB,
    MAILA,
    ALL,
    Reserved,
}

The kind of a DNS query.

According to RFC 1035 Section 3.2.2 and RFC 1035 Section 3.2.3.

Variants

A
NS
MD
MF
CNAME
SOA
MB
MG
MR
NULL
WKS
PTR
HINFO
MINFO
MX
TXT
AXFR
MAILB
MAILA
ALL
Reserved

Trait Implementations

impl Clone for QueryKind[src]

impl Copy for QueryKind[src]

impl Debug for QueryKind[src]

impl From<u16> for QueryKind[src]

impl PartialEq<QueryKind> for QueryKind[src]

impl StructuralPartialEq for QueryKind[src]

Auto Trait Implementations

impl Send for QueryKind

impl Sync for QueryKind

impl Unpin for QueryKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.