Function diem_config::utils::get_local_ip
source · pub fn get_local_ip() -> Option<NetworkAddress>
Expand description
Extracts one local non-loopback IP address, if one exists. Otherwise returns None.
pub fn get_local_ip() -> Option<NetworkAddress>
Extracts one local non-loopback IP address, if one exists. Otherwise returns None.