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>,
signature: &[Record],
encoder: &mut BinEncoder<'_>,
) -> ProtoResult<Header>
Expand description
Emits the different sections of a message properly
ยงReturn
In the case of a successful emit, the final header (updated counts, etc) is returned for help with logging, etc.