pub unsafe extern "C" fn ares_dns_record_rr_get_const(
    dnsrec: *const ares_dns_record_t,
    sect: ares_dns_section_t,
    idx: usize
) -> *const ares_dns_rr_t
Expand description

Fetch a non-writeable resource record based on the section and index.

\param[in] dnsrec Initialized record object \param[in] sect Section for resource record \param[in] idx Index of resource record in section \return NULL on misuse, otherwise a const pointer to the resource record