Function fuel_indexer_lib::utils::derive_socket_addr
source · pub fn derive_socket_addr(host: &str, port: &str) -> SocketAddrExpand description
Derive the std::net::SocketAddr from a given host and port, falling back
to a DNS lookup using std::net::ToSocketAddrs if the host is not a valid IP address.