dns_resolver::cache

Function to_rrs

Source
fn to_rrs(
    name: &DomainName,
    now: Instant,
    tuples: &[(RecordTypeWithData, Instant)],
    rrs: &mut Vec<ResourceRecord>,
)
Expand description

Helper for get_without_checking_expiration: converts the cached record tuples into RRs.