Trait SimpleProxyResolverExt

Source
pub trait SimpleProxyResolverExt: IsA<SimpleProxyResolver> + 'static {
    // Provided methods
    fn set_default_proxy(&self, default_proxy: Option<&str>) { ... }
    fn set_uri_proxy(&self, uri_scheme: &str, proxy: &str) { ... }
    fn default_proxy(&self) -> Option<GString> { ... }
    fn ignore_hosts(&self) -> Vec<GString> { ... }
    fn connect_default_proxy_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
    fn connect_ignore_hosts_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
}

Provided Methods§

Source

fn set_default_proxy(&self, default_proxy: Option<&str>)

Source

fn set_uri_proxy(&self, uri_scheme: &str, proxy: &str)

Source

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

Source

fn ignore_hosts(&self) -> Vec<GString>

Source

fn connect_default_proxy_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

Source

fn connect_ignore_hosts_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§