Trait ux::prelude::ProxyResolverExt[]

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

Required methods

pub fn is_supported(&self) -> bool

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

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

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

Loading content...

Implementors

impl<O> ProxyResolverExt for O where
    O: IsA<ProxyResolver>, 

Loading content...