Struct sysinfo::Networks [−][src]
pub struct Networks { /* fields omitted */ }
Expand description
Networks interfaces.
use sysinfo::{NetworksExt, System, SystemExt};
let s = System::new_all();
let networks = s.networks();
Trait Implementations
fn iter(&self) -> NetworksIter<'_>ⓘNotable traits for NetworksIter<'a>impl<'a> Iterator for NetworksIter<'a> type Item = (&'a String, &'a NetworkData);
fn iter(&self) -> NetworksIter<'_>ⓘNotable traits for NetworksIter<'a>impl<'a> Iterator for NetworksIter<'a> type Item = (&'a String, &'a NetworkData);
Notable traits for NetworksIter<'a>
impl<'a> Iterator for NetworksIter<'a> type Item = (&'a String, &'a NetworkData);
Returns an iterator over the network interfaces. Read more
Refreshes the network interfaces list. Read more