[−][src]Trait gio::ResolverExt
Required methods
fn lookup_by_address<P: IsA<InetAddress>, Q: IsA<Cancellable>>(
&self,
address: &P,
cancellable: Option<&Q>
) -> Result<GString, Error>
&self,
address: &P,
cancellable: Option<&Q>
) -> Result<GString, Error>
fn lookup_by_address_async<P: IsA<InetAddress>, Q: IsA<Cancellable>, R: FnOnce(Result<GString, Error>) + Send + 'static>(
&self,
address: &P,
cancellable: Option<&Q>,
callback: R
)
&self,
address: &P,
cancellable: Option<&Q>,
callback: R
)
fn lookup_by_address_async_future<P: IsA<InetAddress> + Clone + 'static>(
&self,
address: &P
) -> Pin<Box_<dyn Future<Output = Result<GString, Error>> + 'static>>
&self,
address: &P
) -> Pin<Box_<dyn Future<Output = Result<GString, Error>> + 'static>>
fn lookup_by_name<P: IsA<Cancellable>>(
&self,
hostname: &str,
cancellable: Option<&P>
) -> Result<Vec<InetAddress>, Error>
&self,
hostname: &str,
cancellable: Option<&P>
) -> Result<Vec<InetAddress>, Error>
fn lookup_by_name_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<InetAddress>, Error>) + Send + 'static>(
&self,
hostname: &str,
cancellable: Option<&P>,
callback: Q
)
&self,
hostname: &str,
cancellable: Option<&P>,
callback: Q
)
fn lookup_by_name_async_future(
&self,
hostname: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<InetAddress>, Error>> + 'static>>
&self,
hostname: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<InetAddress>, Error>> + 'static>>
fn lookup_records<P: IsA<Cancellable>>(
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>
) -> Result<Vec<Variant>, Error>
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>
) -> Result<Vec<Variant>, Error>
fn lookup_records_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<Variant>, Error>) + Send + 'static>(
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>,
callback: Q
)
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>,
callback: Q
)
fn lookup_records_async_future(
&self,
rrname: &str,
record_type: ResolverRecordType
) -> Pin<Box_<dyn Future<Output = Result<Vec<Variant>, Error>> + 'static>>
&self,
rrname: &str,
record_type: ResolverRecordType
) -> Pin<Box_<dyn Future<Output = Result<Vec<Variant>, Error>> + 'static>>
fn lookup_service<P: IsA<Cancellable>>(
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>
) -> Result<Vec<SrvTarget>, Error>
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>
) -> Result<Vec<SrvTarget>, Error>
fn lookup_service_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<SrvTarget>, Error>) + Send + 'static>(
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>,
callback: Q
)
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>,
callback: Q
)
fn lookup_service_async_future(
&self,
service: &str,
protocol: &str,
domain: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<SrvTarget>, Error>> + 'static>>
&self,
service: &str,
protocol: &str,
domain: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<SrvTarget>, Error>> + 'static>>
fn set_default(&self)
fn connect_reload<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Implementors
impl<O: IsA<Resolver>> ResolverExt for O
[src]
fn lookup_by_address<P: IsA<InetAddress>, Q: IsA<Cancellable>>(
&self,
address: &P,
cancellable: Option<&Q>
) -> Result<GString, Error>
[src]
&self,
address: &P,
cancellable: Option<&Q>
) -> Result<GString, Error>
fn lookup_by_address_async<P: IsA<InetAddress>, Q: IsA<Cancellable>, R: FnOnce(Result<GString, Error>) + Send + 'static>(
&self,
address: &P,
cancellable: Option<&Q>,
callback: R
)
[src]
&self,
address: &P,
cancellable: Option<&Q>,
callback: R
)
fn lookup_by_address_async_future<P: IsA<InetAddress> + Clone + 'static>(
&self,
address: &P
) -> Pin<Box_<dyn Future<Output = Result<GString, Error>> + 'static>>
[src]
&self,
address: &P
) -> Pin<Box_<dyn Future<Output = Result<GString, Error>> + 'static>>
fn lookup_by_name<P: IsA<Cancellable>>(
&self,
hostname: &str,
cancellable: Option<&P>
) -> Result<Vec<InetAddress>, Error>
[src]
&self,
hostname: &str,
cancellable: Option<&P>
) -> Result<Vec<InetAddress>, Error>
fn lookup_by_name_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<InetAddress>, Error>) + Send + 'static>(
&self,
hostname: &str,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
hostname: &str,
cancellable: Option<&P>,
callback: Q
)
fn lookup_by_name_async_future(
&self,
hostname: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<InetAddress>, Error>> + 'static>>
[src]
&self,
hostname: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<InetAddress>, Error>> + 'static>>
fn lookup_records<P: IsA<Cancellable>>(
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>
) -> Result<Vec<Variant>, Error>
[src]
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>
) -> Result<Vec<Variant>, Error>
fn lookup_records_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<Variant>, Error>) + Send + 'static>(
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
rrname: &str,
record_type: ResolverRecordType,
cancellable: Option<&P>,
callback: Q
)
fn lookup_records_async_future(
&self,
rrname: &str,
record_type: ResolverRecordType
) -> Pin<Box_<dyn Future<Output = Result<Vec<Variant>, Error>> + 'static>>
[src]
&self,
rrname: &str,
record_type: ResolverRecordType
) -> Pin<Box_<dyn Future<Output = Result<Vec<Variant>, Error>> + 'static>>
fn lookup_service<P: IsA<Cancellable>>(
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>
) -> Result<Vec<SrvTarget>, Error>
[src]
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>
) -> Result<Vec<SrvTarget>, Error>
fn lookup_service_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<SrvTarget>, Error>) + Send + 'static>(
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
service: &str,
protocol: &str,
domain: &str,
cancellable: Option<&P>,
callback: Q
)
fn lookup_service_async_future(
&self,
service: &str,
protocol: &str,
domain: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<SrvTarget>, Error>> + 'static>>
[src]
&self,
service: &str,
protocol: &str,
domain: &str
) -> Pin<Box_<dyn Future<Output = Result<Vec<SrvTarget>, Error>> + 'static>>