Struct nix::ifaddrs::InterfaceAddressIterator
pub struct InterfaceAddressIterator { /* fields hidden */ }
Documentation
Holds the results of getifaddrs
.
Use the function getifaddrs
to create this Iterator. Note that the
actual list of interfaces can be iterated once and will be freed as
soon as the Iterator goes out of scope.
Trait Implementations
impl Debug for InterfaceAddressIterator
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Drop for InterfaceAddressIterator
fn drop(&mut Self)
impl Eq for InterfaceAddressIterator
impl Hash for InterfaceAddressIterator
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Iterator for InterfaceAddressIterator
type Item = InterfaceAddress
impl PartialEq<InterfaceAddressIterator> for InterfaceAddressIterator
fn eq(&Self, other: &InterfaceAddressIterator) -> bool
fn ne(&Self, other: &InterfaceAddressIterator) -> bool
impl StructuralEq for InterfaceAddressIterator
Auto Trait Implementations
impl !Send for InterfaceAddressIterator
impl !Sync for InterfaceAddressIterator
impl RefUnwindSafe for InterfaceAddressIterator
impl Unpin for InterfaceAddressIterator
impl UnwindSafe for InterfaceAddressIterator
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T