Struct nix::ifaddrs::InterfaceAddress [−][src]
pub struct InterfaceAddress {
pub interface_name: String,
pub flags: InterfaceFlags,
pub address: Option<SockAddr>,
pub netmask: Option<SockAddr>,
pub broadcast: Option<SockAddr>,
pub destination: Option<SockAddr>,
}Describes a single address for an interface as returned by getifaddrs.
Fields
interface_name: StringName of the network interface
flags: InterfaceFlagsFlags as from SIOCGIFFLAGS ioctl
address: Option<SockAddr>Network address of this interface
netmask: Option<SockAddr>Netmask of this interface
broadcast: Option<SockAddr>Broadcast address of this interface, if applicable
destination: Option<SockAddr>Point-to-point destination address
Trait Implementations
impl Clone for InterfaceAddress[src]
impl Clone for InterfaceAddress[src]fn clone(&self) -> InterfaceAddress[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Hash for InterfaceAddress[src]
impl Hash for InterfaceAddress[src]impl PartialEq<InterfaceAddress> for InterfaceAddress[src]
impl PartialEq<InterfaceAddress> for InterfaceAddress[src]