async fn hosts_from_file<P: AsRef<Path>>( path: P, ) -> Result<Result<Hosts, Error>>
Read a hosts file, for example /etc/hosts.