Struct ifaddrs::Interface
[−]
[src]
pub struct Interface { pub name: String, pub addr: IfAddr, }
Details about an interface on this host
Fields
name: String
The name of the interface.
addr: IfAddr
The address details of the interface.
Trait Implementations
impl Debug for Interface
[src]
impl PartialEq for Interface
[src]
fn eq(&self, __arg_0: &Interface) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Interface) -> bool
[src]
This method tests for !=
.
impl Eq for Interface
[src]
impl Hash for Interface
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more