Skip to main content

parse_host

Function parse_host 

Source
pub fn parse_host(s: &str) -> Result<Host, NetError>
Expand description

parse_host parses a string into a Host, with validation similar to Go’s ParseHost.