pub fn try_str_to_socketaddr(
    addr: impl ToString
) -> Result<SocketAddr, AddrParseError>
Expand description

This function attempts to convert the given input into a std::net::SocketAddr