Function get_if_addrs::getifaddrs [] [src]

pub fn getifaddrs() -> Vec<IfAddr>

For non-Windows operating system, use this function to get address