net::hosts

Function parse_hostsfile

Source
pub fn parse_hostsfile(hostsfile_content: &str) -> HashMap<String, IpAddr>