ifaces 0.1.0

Rust bindings to retrieve network interface information
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate ifaces;

#[cfg(not(test))]
fn main () {
    for iface in
        ifaces::Interface::get_all().unwrap()
            .into_iter() {
                println!("{}\t{:?}\t{:?}", iface.name, iface.kind, iface.addr);
            }
}