[][src]Module trust_dns_proto::op::message

Basic protocol message for DNS

Structs

HeaderCounts

Tracks the counts of the records in the Message.

Message

The basic request and response datastructure, used for all DNS protocols.

NoopMessageFinalizer

A MessageFinalizer which does nothing

Traits

EmitAndCount

A trait that defines types which can be emitted as a set, with the associated count returned.

MessageFinalizer

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