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

Name of the network interface

Flags as from SIOCGIFFLAGS ioctl

Network address of this interface

Netmask of this interface

Broadcast address of this interface, if applicable

Point-to-point destination address

Trait Implementations

impl Clone for InterfaceAddress
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for InterfaceAddress
[src]

impl Hash for InterfaceAddress
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for InterfaceAddress
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for InterfaceAddress
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InterfaceAddress

impl Sync for InterfaceAddress