parse_host

Function parse_host 

Source
pub fn parse_host(host: &str) -> Result<IpAddr, String>