Trait gio::prelude::ProxyResolverExt
source · pub trait ProxyResolverExt: IsA<ProxyResolver> + Sealed + 'static {
// Provided methods
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>> { ... }
}
Provided Methods§
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>>
Object Safety§
This trait is not object safe.