Struct sysinfo::Networks [−][src]
pub struct Networks { /* fields omitted */ }
Network interfaces.
use sysinfo::{NetworksExt, System, SystemExt}; let s = System::new_all(); let networks = s.get_networks();
Trait Implementations
impl<'a> IntoIterator for &'a Networks
[src]
impl<'a> IntoIterator for &'a Networks
[src]impl NetworksExt for Networks
[src]
impl NetworksExt for Networks
[src]fn iter(&self) -> NetworksIter<'_>ⓘNotable traits for NetworksIter<'a>
impl<'a> Iterator for NetworksIter<'a> type Item = (&'a String, &'a NetworkData);
[src]
fn iter(&self) -> NetworksIter<'_>ⓘNotable traits for NetworksIter<'a>
impl<'a> Iterator for NetworksIter<'a> type Item = (&'a String, &'a NetworkData);
[src]Returns an iterator over the network interfaces. Read more
fn refresh_networks_list(&mut self)
[src]
fn refresh_networks_list(&mut self)
[src]Refreshes the network interfaces list. Read more
Auto Trait Implementations
impl RefUnwindSafe for Networks
impl Send for Networks
impl Sync for Networks
impl Unpin for Networks
impl UnwindSafe for Networks
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T