[][src]Trait libzmq::addr::IntoIpAddrs

pub trait IntoIpAddrs {
    type IntoIter: Iterator<Item = IpAddr>;
    fn into_ip_addrs(self) -> Self::IntoIter;
}

A trait equivalent to IntoIter<Item=Into<IpAddr>> for std::net::* types.

Associated Types

type IntoIter: Iterator<Item = IpAddr>

Returned iterator over ip addresses which this type may correspond to.

Loading content...

Required methods

fn into_ip_addrs(self) -> Self::IntoIter

Converts this object to an iterator of resolved IpAddrs.

Loading content...

Implementations on Foreign Types

impl IntoIpAddrs for IpAddr[src]

type IntoIter = IntoIter<Self>

impl IntoIpAddrs for Ipv4Addr[src]

impl IntoIpAddrs for Ipv6Addr[src]

impl<'a> IntoIpAddrs for &'a [IpAddr][src]

impl<T: ?Sized, '_> IntoIpAddrs for &'_ T where
    T: IntoIpAddrs + Clone
[src]

type IntoIter = T::IntoIter

impl<E> IntoIpAddrs for Vec<E> where
    E: Into<IpAddr>, 
[src]

Loading content...

Implementors

Loading content...