Enum cdns_rs::a_sync::common::DnsRdata[][src]

pub enum DnsRdata {
Show 30 variants None, A { ip: Ipv4Addr, }, NS { fqdn: String, }, MD { data: Vec<u8>, }, MF { data: Vec<u8>, }, CNAME { fqdn: String, }, SOA { data: Vec<u8>, }, MB { data: Vec<u8>, }, MG { data: Vec<u8>, }, MR { data: Vec<u8>, }, NULL { data: Vec<u8>, }, WKS { data: Vec<u8>, }, PTR { fqdn: String, }, HINFO { data: Vec<u8>, }, MX { preference: u16, exchange: String, }, TXT { data: Vec<u8>, }, AFSDB { data: Vec<u8>, }, KEY { data: Vec<u8>, }, AAAA { ip: Ipv6Addr, }, CERT { data: Vec<u8>, }, DS { data: Vec<u8>, }, RRSIG { data: Vec<u8>, }, NSEC { data: Vec<u8>, }, DNSKEY { data: Vec<u8>, }, NSEC3 { data: Vec<u8>, }, NSEC3PARAM { data: Vec<u8>, }, CDS { data: Vec<u8>, }, CDNSKEY { data: Vec<u8>, }, OPENPGPKEY { data: Vec<u8>, }, UNKNOWN { data: Vec<u8>, },
}

Variants

None
A

Fields of A

ip: Ipv4Addr
NS

Fields of NS

fqdn: String
MD

Fields of MD

data: Vec<u8>
MF

Fields of MF

data: Vec<u8>
CNAME

Fields of CNAME

fqdn: String
SOA

Fields of SOA

data: Vec<u8>
MB

Fields of MB

data: Vec<u8>
MG

Fields of MG

data: Vec<u8>
MR

Fields of MR

data: Vec<u8>
NULL

Fields of NULL

data: Vec<u8>
WKS

Fields of WKS

data: Vec<u8>
PTR

Fields of PTR

fqdn: String
HINFO

Fields of HINFO

data: Vec<u8>
MX

Fields of MX

preference: u16exchange: String
TXT

Fields of TXT

data: Vec<u8>
AFSDB

Fields of AFSDB

data: Vec<u8>
KEY

Fields of KEY

data: Vec<u8>
AAAA

Fields of AAAA

ip: Ipv6Addr
CERT

Fields of CERT

data: Vec<u8>
DS

Fields of DS

data: Vec<u8>
RRSIG

Fields of RRSIG

data: Vec<u8>
NSEC

Fields of NSEC

data: Vec<u8>
DNSKEY

Fields of DNSKEY

data: Vec<u8>
NSEC3

Fields of NSEC3

data: Vec<u8>
NSEC3PARAM

Fields of NSEC3PARAM

data: Vec<u8>
CDS

Fields of CDS

data: Vec<u8>
CDNSKEY

Fields of CDNSKEY

data: Vec<u8>
OPENPGPKEY

Fields of OPENPGPKEY

data: Vec<u8>
UNKNOWN

Fields of UNKNOWN

data: Vec<u8>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

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.