Function hostsmod::try_parse_hosts[][src]

pub fn try_parse_hosts<'a>(read: &'a str) -> Result<Vec<HostsPart<'a>>, String>

Parses hosts file and returns Vec of resulting parts.