gio::prelude

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: 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

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: IsA<ProxyResolver>>(&self, proxy_resolver: Option<&P>)

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: 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.

Implementors§