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
sourceimpl<'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?
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more