Function trust_dns_proto::op::message::update_header_counts
source ยท pub fn update_header_counts(
current_header: &Header,
is_truncated: bool,
counts: HeaderCounts,
) -> Header
Expand description
Returns a new Header with accurate counts for each Message section