pub fn get_socket_addr<T: ToSocketAddrs + Debug>(addr: &T) -> Result<SocketAddr>
Expand description

Converts an object into a resolved SocketAddr.