Function trust_dns_proto::op::message::emit_message_parts
source · pub fn emit_message_parts<Q, A, N, D>(
header: &Header,
queries: &mut Q,
answers: &mut A,
name_servers: &mut N,
additionals: &mut D,
edns: Option<&Edns>,
sig0: &[Record],
encoder: &mut BinEncoder<'_>
) -> ProtoResult<()>where
Q: EmitAndCount,
A: EmitAndCount,
N: EmitAndCount,
D: EmitAndCount,
Expand description
Emits the different sections of a message properly