trust_dns::rr::rdata::opt
pub fn read( decoder: &mut BinDecoder, rdata_length: Restrict<u16>) -> Result<OPT, ProtoError>
Read the RData from the given Decoder