Enum cdns_rs::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 { soa: DnsSoa, }, 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

NS

Fields

fqdn: String

MD

Fields

data: Vec<u8>

MF

Fields

data: Vec<u8>

CNAME

Fields

fqdn: String

SOA

Fields

soa: DnsSoa

MB

Fields

data: Vec<u8>

MG

Fields

data: Vec<u8>

MR

Fields

data: Vec<u8>

NULL

Fields

data: Vec<u8>

WKS

Fields

data: Vec<u8>

PTR

Fields

fqdn: String

HINFO

Fields

data: Vec<u8>

MX

Fields

preference: u16
exchange: String

TXT

Fields

data: Vec<u8>

AFSDB

Fields

data: Vec<u8>

KEY

Fields

data: Vec<u8>

AAAA

Fields

CERT

Fields

data: Vec<u8>

DS

Fields

data: Vec<u8>

RRSIG

Fields

data: Vec<u8>

NSEC

Fields

data: Vec<u8>

DNSKEY

Fields

data: Vec<u8>

NSEC3

Fields

data: Vec<u8>

NSEC3PARAM

Fields

data: Vec<u8>

CDS

Fields

data: Vec<u8>

CDNSKEY

Fields

data: Vec<u8>

OPENPGPKEY

Fields

data: Vec<u8>

UNKNOWN

Fields

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)

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.