pub fn ip_addrs<T>(mut self, ip_addrs: T) -> InterfaceBuilder<'b, 'c, DeviceT>
        where T: Into<ManagedSlice<'c, IpCidr>>
    {
        let ip_addrs = ip_addrs.into();
        InterfaceInner::check_ip_addrs(&ip_addrs);
        self.ip_addrs = ip_addrs;
        self
    }
/// Set the IP addresses the interface will use. See also
/// [ip_addrs].
///
/// # Panics
/// This function panics if any of the addresses is not unicast.
///
/// [ip_addrs]: struct.EthernetInterface.html#method.ip_addrs
Set the IP addresses the interface will use.
Set the IP addresses the interface will use .
pub fn ip_addrs<T>(mut self, ip_addrs: T) -> InterfaceBuilder<'b, 'c, DeviceT>
        where T: Into<ManagedSlice<'c, IpCidr>>
    {
        let ip_addrs = ip_addrs.into();
        InterfaceInner::check_ip_addrs(&ip_addrs);
        self.ip_addrs = ip_addrs;
        self
    }
pub fn ip_addrs < T > ( mut self , ip_addrs : T ) -> InterfaceBuilder < ' b , ' c , DeviceT > where T : Into < ManagedSlice < ' c , IpCidr > > { let ip_addrs = ip_addrs . into ( ) ; InterfaceInner :: check_ip_addrs ( & ip_addrs ) ; self . ip_addrs = ip_addrs ; self }
Set the IP addresses the interface will use.
Set the IP addresses the interface will use .
mut self
ip_addrs
T
mut self
ip_addrs
T
panics
This function panics if any of the addresses is not unicast.

[ip_addrs]: struct.EthernetInterface.html#method.ip_addrs
This function panics if any of the addresses is not unicast . [ ip_addrs ] : struct . EthernetInterface . html#method . ip_addrs