Lines Matching refs:SocketAddr
4 use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6};
51 impl ToSocketAddrs for SocketAddr {} implementation
53 impl sealed::ToSocketAddrsPriv for SocketAddr { implementation
54 type Iter = std::option::IntoIter<SocketAddr>;
68 type Iter = std::option::IntoIter<SocketAddr>;
72 SocketAddr::V4(*self).to_socket_addrs(sealed::Internal) in to_socket_addrs()
81 type Iter = std::option::IntoIter<SocketAddr>;
85 SocketAddr::V6(*self).to_socket_addrs(sealed::Internal) in to_socket_addrs()
94 type Iter = std::option::IntoIter<SocketAddr>;
98 let iter = Some(SocketAddr::from(*self)).into_iter(); in to_socket_addrs()
108 type Iter = std::option::IntoIter<SocketAddr>;
122 type Iter = std::option::IntoIter<SocketAddr>;
133 impl ToSocketAddrs for &[SocketAddr] {} implementation
135 impl sealed::ToSocketAddrsPriv for &[SocketAddr] { implementation
136 type Iter = std::vec::IntoIter<SocketAddr>;
159 let res: Result<SocketAddr, _> = self.parse();
191 let addr = SocketAddr::V4(addr);
198 let addr = SocketAddr::V6(addr);
245 use std::net::SocketAddr;
249 type Iter: Iterator<Item = SocketAddr> + Send + 'static;
272 Ready(Option<SocketAddr>),
273 Blocking(JoinHandle<io::Result<vec::IntoIter<SocketAddr>>>),
279 One(option::IntoIter<SocketAddr>),
280 More(vec::IntoIter<SocketAddr>),
302 type Item = SocketAddr;