Trait gio::ProxyResolverExt [−][src]
pub trait ProxyResolverExt: Sized { fn is_supported(&self) -> bool; fn lookup<'a, P: Into<Option<&'a Cancellable>>>(
&self,
uri: &str,
cancellable: P
) -> Result<Vec<String>, Error>; fn lookup_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<Vec<String>, Error>) + Send + 'static>(
&self,
uri: &str,
cancellable: P,
callback: Q
); }
Required Methods
fn is_supported(&self) -> bool
fn lookup<'a, P: Into<Option<&'a Cancellable>>>(
&self,
uri: &str,
cancellable: P
) -> Result<Vec<String>, Error>
&self,
uri: &str,
cancellable: P
) -> Result<Vec<String>, Error>
fn lookup_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<Vec<String>, Error>) + Send + 'static>(
&self,
uri: &str,
cancellable: P,
callback: Q
)
&self,
uri: &str,
cancellable: P,
callback: Q
)
Implementors
impl<O: IsA<ProxyResolver> + IsA<Object> + Clone + 'static> ProxyResolverExt for O