[][src]Enum dns_message_parser::rr::RR

pub enum RR {
    A(A),
    NS(NS),
    MD(MD),
    MF(MF),
    CNAME(CNAME),
    SOA(SOA),
    MB(MB),
    MG(MG),
    MR(MR),
    NULL(NULL),
    WKS(WKS),
    PTR(PTR),
    HINFO(HINFO),
    MINFO(MINFO),
    MX(MX),
    TXT(TXT),
    RP(RP),
    AFSDB(AFSDB),
    X25(X25),
    ISDN(ISDN),
    RT(RT),
    NSAP(NSAP),
    PX(PX),
    GPOS(GPOS),
    AAAA(AAAA),
    LOC(LOC),
    NIMLOC(NIMLOC),
    SRV(SRV),
    KX(KX),
    DNAME(DNAME),
    OPT(OPT),
    APL(APL),
    SSHFP(SSHFP),
    URI(URI),
    EID(EID),
    NID(NID),
    L32(L32),
    L64(L64),
    LP(LP),
    EUI48(EUI48),
    EUI64(EUI64),
}

Variants

A(A)
NS(NS)
MD(MD)
MF(MF)
CNAME(CNAME)
SOA(SOA)
MB(MB)
MG(MG)
MR(MR)
NULL(NULL)
WKS(WKS)
PTR(PTR)
HINFO(HINFO)
MINFO(MINFO)
MX(MX)
TXT(TXT)
RP(RP)
AFSDB(AFSDB)
X25(X25)
ISDN(ISDN)
RT(RT)
NSAP(NSAP)
PX(PX)
GPOS(GPOS)
AAAA(AAAA)
LOC(LOC)
NIMLOC(NIMLOC)
SRV(SRV)
KX(KX)
DNAME(DNAME)
OPT(OPT)
APL(APL)
SSHFP(SSHFP)
URI(URI)
EID(EID)
NID(NID)
L32(L32)
L64(L64)
LP(LP)
EUI48(EUI48)
EUI64(EUI64)

Implementations

impl RR[src]

pub fn decode(bytes: Bytes) -> DecodeResult<RR>[src]

impl RR[src]

impl RR[src]

pub fn get_ttl(&self) -> Option<u32>[src]

pub fn get_class(&self) -> Option<Class>[src]

Trait Implementations

impl Clone for RR[src]

impl Debug for RR[src]

impl Display for RR[src]

impl PartialEq<RR> for RR[src]

impl StructuralPartialEq for RR[src]

Auto Trait Implementations

impl RefUnwindSafe for RR[src]

impl Send for RR[src]

impl Sync for RR[src]

impl Unpin for RR[src]

impl UnwindSafe for RR[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.