Struct trust_dns_proto::op::Edns [] [src]

pub struct Edns { /* fields omitted */ }

Edns implements the higher level concepts for working with extended dns as it is used to create or be created from OPT record data.

Methods

impl Edns
[src]

[src]

Creates a new extended DNS object.

[src]

The high order bytes for the response code in the DNS Message

[src]

Returns the EDNS version

[src]

Specifies that DNSSec is supported for this Client or Server

[src]

Maximum supported size of the DNS payload

[src]

Returns the Option associated with the code

[src]

Returns the options portion of EDNS

[src]

Set the high order bits for the result code.

[src]

Set the EDNS version

[src]

Set to true if DNSSec is supported

[src]

Set the maximum payload which can be supported From RFC 6891: Values lower than 512 MUST be treated as equal to 512

[src]

Set the specified EDNS option

Trait Implementations

impl Debug for Edns
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Edns
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for Edns
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Edns
[src]

[src]

Returns the "default value" for a type. Read more

impl<'a> From<&'a Record> for Edns
[src]

[src]

Performs the conversion.