pub enum DNSSECRecordType {
    DNSKEY,
    DS,
    KEY,
    NSEC,
    NSEC3,
    NSEC3PARAM,
    RRSIG,
    SIG,
    Unknown(u16),
}
Expand description

The type of the resource record, for DNSSEC-specific records.

Variants

DNSKEY

RFC 4034 DNS Key record: RSASHA256 and RSASHA512, RFC5702

DS

RFC 4034 Delegation signer: RSASHA256 and RSASHA512, RFC5702

KEY

RFC 2535[3] and RFC 2930[4] Key record

NSEC

RFC 4034 Next-Secure record

NSEC3

RFC 5155 NSEC record version 3

NSEC3PARAM

RFC 5155 NSEC3 parameters

RRSIG

RFC 4034 DNSSEC signature: RSASHA256 and RSASHA512, RFC5702

SIG

RFC 2535 (2931) Signature, to support 2137 Update.

This isn’t really a DNSSEC record type, but it is here because, at least for now, we enable/disable SIG(0) in exactly the same circumstances that we enable/disable DNSSEC. This may change in the future.

Unknown(u16)

Unknown or not yet supported DNSSec record type

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

Performs the conversion.

Performs the conversion.

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. 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 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

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.