3 // ignore-wasm32-bare networking not available
4 // ignore-sgx ToSocketAddrs cannot be used for DNS Resolution
6 use std::net::ToSocketAddrs;
8 fn is_sync<T>(_: T) where T: Sync {}
9 fn is_send<T>(_: T) where T: Send {}
11 macro_rules! all_sync_send {
12 ($ctor:expr, $($iter:ident),+) => ({
23 all_sync_send!("localhost:80".to_socket_addrs().unwrap(), next);