netif

Crates.ionetif
lib.rsnetif
version0.1.6
sourcesrc
created_at2021-12-22 21:35:03.671997
updated_at2022-09-19 08:07:07.464312
descriptionList the network interfaces on the system.
homepage
repository
max_upload_size
id501948
size19,914
Ben Noordhuis (bnoordhuis)

documentation

README

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.

Commit count: 0

cargo fmt