pub fn new() -> Self {
        Self {
            inner: NetworksInner::new(),
        }
    }
Creates a new empty [`Networks`][crate::Networks] type.

If you want it to be filled directly, take a look at [`Networks::new_with_refreshed_list`].

```no_run
use sysinfo::Networks;

let mut networks = Networks::new();
networks.refresh(true);
for (interface_name, network) in &networks {
println!("[{interface_name}]: {network:?}");
}
```
src/common/network.rs