Enum simple_dns::rdata::RData[][src]

pub enum RData<'a> {
Show 18 variants A(A), AAAA(AAAA), NS(Name<'a>), MD(Name<'a>), CNAME(Name<'a>), MB(Name<'a>), MG(Name<'a>), MR(Name<'a>), PTR(Name<'a>), MF(Name<'a>), HINFO(HINFO<'a>), MINFO(MINFO<'a>), MX(MX<'a>), TXT(CharacterString<'a>), SOA(Box<SOA<'a>>), WKS(WKS<'a>), SRV(Box<SRV<'a>>), NULL(u16, NULL<'a>),
}
Expand description

Represents the RData of each TYPE

Variants

A

Tuple Fields of A

0: A
AAAA

Tuple Fields of AAAA

0: AAAA
NS

Tuple Fields of NS

0: Name<'a>
MD

Tuple Fields of MD

0: Name<'a>
CNAME

Tuple Fields of CNAME

0: Name<'a>
MB

Tuple Fields of MB

0: Name<'a>
MG

Tuple Fields of MG

0: Name<'a>
MR

Tuple Fields of MR

0: Name<'a>
PTR

Tuple Fields of PTR

0: Name<'a>
MF

Tuple Fields of MF

0: Name<'a>
HINFO

Tuple Fields of HINFO

0: HINFO<'a>
MINFO

Tuple Fields of MINFO

0: MINFO<'a>
MX

Tuple Fields of MX

0: MX<'a>
TXT

Tuple Fields of TXT

0: CharacterString<'a>
SOA

Tuple Fields of SOA

0: Box<SOA<'a>>
WKS

Tuple Fields of WKS

0: WKS<'a>
SRV

Tuple Fields of SRV

0: Box<SRV<'a>>
NULL

Tuple Fields of NULL

0: u161: NULL<'a>

Implementations

Returns the TYPE of this RData

Trait Implementations

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.