pub struct Networks { /* private fields */ }
Expand description
Networks interfaces.
use sysinfo::{NetworksExt, System, SystemExt};
let s = System::new_all();
let networks = s.networks();
Trait Implementations§
source§impl<'a> IntoIterator for &'a Networks
impl<'a> IntoIterator for &'a Networks
§type Item = (&'a String, &'a NetworkData)
type Item = (&'a String, &'a NetworkData)
The type of the elements being iterated over.
§type IntoIter = NetworksIter<'a>
type IntoIter = NetworksIter<'a>
Which kind of iterator are we turning this into?
source§impl NetworksExt for Networks
impl NetworksExt for Networks
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> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more