pub fn process_datagram(
bytes: &mut FixedBuf<512>,
handler: &impl Fn(&DnsQuestion) -> Vec<DnsRecord>,
) -> Result<FixedBuf<512>, DnsError>
Expand description
ยงErrors
Returns Err
when the request is malformed or the server is not configured to answer the
request.