Struct rustdns::types::Extension [−][src]
pub struct Extension {
pub payload_size: u16,
pub extend_rcode: u8,
pub version: u8,
pub dnssec_ok: bool,
}
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
Auto Trait Implementations
impl RefUnwindSafe for Extension
impl UnwindSafe for Extension
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more