[−][src]Trait gio::SocketConnectableExt
Trait containing all SocketConnectable
methods.
Implementors
InetSocketAddress
, NetworkAddress
, NetworkService
, ProxyAddress
, SocketAddress
, SocketConnectable
, UnixSocketAddress
Required methods
fn enumerate(&self) -> Option<SocketAddressEnumerator>
fn proxy_enumerate(&self) -> Option<SocketAddressEnumerator>
Creates a SocketAddressEnumerator
for self
that will
return a ProxyAddress
for each of its addresses that you must connect
to via a proxy.
If self
does not implement
SocketConnectable::proxy_enumerate
, this will fall back to
calling SocketConnectable::enumerate
.
Returns
a new SocketAddressEnumerator
.