Skip to main content

parse_bind_addr

Function parse_bind_addr 

Source
fn parse_bind_addr(s: &str) -> Result<NetAddr, String>
Expand description

Parse an address to bind to, and check that it is well-formed, so that a mistyped host fails at startup rather than when the first peer cannot reach us.