pub trait ProxyResolverExt: 'static {
    fn is_supported(&self) -> bool;
    fn lookup(
        &self,
        uri: &str,
        cancellable: Option<&impl IsA<Cancellable>>
    ) -> Result<Vec<GString>, Error>; fn lookup_async<P: FnOnce(Result<Vec<GString>, Error>) + 'static>(
        &self,
        uri: &str,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn lookup_future(
        &self,
        uri: &str
    ) -> Pin<Box_<dyn Future<Output = Result<Vec<GString>, Error>> + 'static>>; }

Required Methods

Implementors