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>(&self, proxy_resolver: Option<&P>)
where P: IsA<ProxyResolver> { ... }
fn uri(&self) -> Option<GString> { ... }
fn connect_proxy_resolver_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
}
Provided Methods§
fn connectable(&self) -> Option<SocketConnectable>
fn default_port(&self) -> u32
fn proxy_resolver(&self) -> Option<ProxyResolver>
fn set_proxy_resolver<P>(&self, proxy_resolver: Option<&P>)where
P: IsA<ProxyResolver>,
fn uri(&self) -> Option<GString>
fn connect_proxy_resolver_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&Self) + 'static,
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.