[][src]Function trust_dns::rr::rdata::opt::read

pub fn read(
    decoder: &mut BinDecoder,
    rdata_length: Restrict<u16>
) -> Result<OPT, ProtoError>

Read the RData from the given Decoder