pub fn rcode(buffer: &[u8]) -> Result<RCODE>
Expand description

Get the RCODE from the buffer.
WARNING: This information may be wrong if there is an OPT record in packet