Struct rustdns::Extension[][src]

pub struct Extension {
    pub payload_size: u16,
    pub extend_rcode: u8,
    pub version: u8,
    pub dnssec_ok: bool,
}
Expand description

EDNS(0) extension record as defined in rfc2671 and rfc6891.

Fields

payload_size: u16

Requestor’s UDP payload size.

extend_rcode: u8

Extended RCode.

version: u8

Version of the extension.

dnssec_ok: bool

DNSSEC OK bit as defined by rfc3225.

Implementations

Trait Implementations

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

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.