[−][src]Function trust_dns_proto::op::message::emit_message_parts
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,
Emits the different sections of a message properly