Struct trust_dns_proto::op::Edns [−][src]
pub struct Edns { /* fields omitted */ }
Expand description
Edns implements the higher level concepts for working with extended dns as it is used to create or be created from OPT record data.
Implementations
The high order bytes for the response code in the DNS Message
Maximum supported size of the DNS payload
Returns the Option associated with the code
Set the high order bits for the result code.
Set the EDNS version
Set to true if DNSSec is supported
Set the maximum payload which can be supported
From RFC 6891: Values lower than 512 MUST be treated as equal to 512
Set the specified EDNS option
Trait Implementations
Write the type to the stream
Returns the object in binary form
Auto Trait Implementations
impl RefUnwindSafe for Edns
impl UnwindSafe for Edns
Blanket Implementations
Mutably borrows from an owned value. Read more