[−][src]Trait gio::ProxyExt
Required methods
fn connect<P: IsA<IOStream>, Q: IsA<ProxyAddress>, R: IsA<Cancellable>>(
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>
) -> Result<IOStream, Error>
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>
) -> Result<IOStream, Error>
fn connect_async<P: IsA<IOStream>, Q: IsA<ProxyAddress>, R: IsA<Cancellable>, S: FnOnce(Result<IOStream, Error>) + Send + 'static>(
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>,
callback: S
)
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>,
callback: S
)
fn connect_async_future<P: IsA<IOStream> + Clone + 'static, Q: IsA<ProxyAddress> + Clone + 'static>(
&self,
connection: &P,
proxy_address: &Q
) -> Pin<Box_<dyn Future<Output = Result<IOStream, Error>> + 'static>>
&self,
connection: &P,
proxy_address: &Q
) -> Pin<Box_<dyn Future<Output = Result<IOStream, Error>> + 'static>>
fn supports_hostname(&self) -> bool
Implementors
impl<O: IsA<Proxy>> ProxyExt for O
[src]
fn connect<P: IsA<IOStream>, Q: IsA<ProxyAddress>, R: IsA<Cancellable>>(
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>
) -> Result<IOStream, Error>
[src]
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>
) -> Result<IOStream, Error>
fn connect_async<P: IsA<IOStream>, Q: IsA<ProxyAddress>, R: IsA<Cancellable>, S: FnOnce(Result<IOStream, Error>) + Send + 'static>(
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>,
callback: S
)
[src]
&self,
connection: &P,
proxy_address: &Q,
cancellable: Option<&R>,
callback: S
)
fn connect_async_future<P: IsA<IOStream> + Clone + 'static, Q: IsA<ProxyAddress> + Clone + 'static>(
&self,
connection: &P,
proxy_address: &Q
) -> Pin<Box_<dyn Future<Output = Result<IOStream, Error>> + 'static>>
[src]
&self,
connection: &P,
proxy_address: &Q
) -> Pin<Box_<dyn Future<Output = Result<IOStream, Error>> + 'static>>