[][src]Trait gio::prelude::ProxyResolverExt

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

Required methods

fn is_supported(&self) -> bool

fn lookup<P: IsA<Cancellable>>(
    &self,
    uri: &str,
    cancellable: Option<&P>
) -> Result<Vec<GString>, Error>

fn lookup_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<GString>, Error>) + Send + 'static>(
    &self,
    uri: &str,
    cancellable: Option<&P>,
    callback: Q
)

fn lookup_async_future(
    &self,
    uri: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<GString>, Error>> + 'static>>

Loading content...

Implementors

impl<O: IsA<ProxyResolver>> ProxyResolverExt for O[src]

Loading content...