[go: up one dir, main page]

netif 0.1.4

List the network interfaces on the system.
Documentation
netif-0.1.4 has been yanked.

netif

List the network interfaces on the system.

Example usage:

fn main() {
    for ifa in netif::up().unwrap() {
        if !ifa.address().is_loopback() {
            println!("{:?}", ifa);
        }
    }
}

license

ISC, see the LICENSE file.