pub trait ProxyAddressEnumeratorExt: IsA<ProxyAddressEnumerator> + 'static {
// Provided methods
fn connectable(&self) -> Option<SocketConnectable> { ... }
fn default_port(&self) -> u32 { ... }
fn proxy_resolver(&self) -> Option<ProxyResolver> { ... }
fn set_proxy_resolver<P: IsA<ProxyResolver>>(
&self,
proxy_resolver: Option<&P>,
) { ... }
fn uri(&self) -> Option<GString> { ... }
fn connect_proxy_resolver_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
Sourcefn connectable(&self) -> Option<SocketConnectable>
fn connectable(&self) -> Option<SocketConnectable>
The connectable being enumerated.
Sourcefn default_port(&self) -> u32
fn default_port(&self) -> u32
The default port to use if #GProxyAddressEnumerator:uri does not specify one.
Sourcefn proxy_resolver(&self) -> Option<ProxyResolver>
fn proxy_resolver(&self) -> Option<ProxyResolver>
The proxy resolver to use.
Sourcefn set_proxy_resolver<P: IsA<ProxyResolver>>(&self, proxy_resolver: Option<&P>)
fn set_proxy_resolver<P: IsA<ProxyResolver>>(&self, proxy_resolver: Option<&P>)
The proxy resolver to use.
fn connect_proxy_resolver_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.