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>>
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.