ProxyAddressEnumeratorExt

Trait ProxyAddressEnumeratorExt 

Source
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 { ... }
}
Expand description

Trait containing all ProxyAddressEnumerator methods.

§Implementors

ProxyAddressEnumerator

Provided Methods§

Source

fn connectable(&self) -> Option<SocketConnectable>

The connectable being enumerated.

Source

fn default_port(&self) -> u32

The default port to use if #GProxyAddressEnumerator:uri does not specify one.

Source

fn proxy_resolver(&self) -> Option<ProxyResolver>

The proxy resolver to use.

Source

fn set_proxy_resolver<P>(&self, proxy_resolver: Option<&P>)
where P: IsA<ProxyResolver>,

The proxy resolver to use.

Source

fn uri(&self) -> Option<GString>

The destination URI. Use none:// for a generic socket.

Source

fn connect_proxy_resolver_notify<F>(&self, f: F) -> SignalHandlerId
where 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.

Implementors§