Expand description
Basic protocol message for DNS
Structs§
- Header
Counts - Tracks the counts of the records in the Message.
- Message
- The basic request and response data structure, used for all DNS protocols.
- Message
Parts - Consumes
Message
giving public access to fields inMessage
so they can be destructured and taken by value - Noop
Message Finalizer - A MessageFinalizer which does nothing
Traits§
- Emit
AndCount - A trait that defines types which can be emitted as a set, with the associated count returned.
- Message
Finalizer - A trait for performing final amendments to a Message before it is sent.
Functions§
- count_
was_ truncated - Returns the count written and a boolean if it was truncated
- emit_
message_ parts - Emits the different sections of a message properly
- update_
header_ counts - Returns a new Header with accurate counts for each Message section
Type Aliases§
- Message
Verifier - Alias for a function verifying if a message is properly signed