[go: up one dir, main page]

[][src]Trait gio::ProxyExt

pub trait ProxyExt: Sized {
    fn connect<'a, P: IsA<IOStream>, Q: Into<Option<&'a Cancellable>>>(
        &self,
        connection: &P,
        proxy_address: &ProxyAddress,
        cancellable: Q
    ) -> Result<IOStream, Error>;
fn connect_async<'a, P: IsA<IOStream>, Q: Into<Option<&'a Cancellable>>, R: FnOnce(Result<IOStream, Error>) + Send + 'static>(
        &self,
        connection: &P,
        proxy_address: &ProxyAddress,
        cancellable: Q,
        callback: R
    );
fn supports_hostname(&self) -> bool; }

Required Methods

Implementors

impl<O: IsA<Proxy> + IsA<Object> + Clone + 'static> ProxyExt for O
[src]