Function parse_and_collect_ips

Source
pub fn parse_and_collect_ips(
    country_code: &str,
    rir_texts: &[String],
) -> Result<(BTreeSet<IpNet>, BTreeSet<IpNet>), Box<dyn Error + Send + Sync>>
Expand description

全RIRテキストから、指定国コードに合致するIPアドレスをすべて集約し、BTreeSetとして返す