#[repr(C)]
pub struct GResolverClass {
Show 17 fields pub parent_class: GObjectClass, pub reload: Option<unsafe extern "C" fn(_: *mut GResolver)>, pub lookup_by_name: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>, pub lookup_by_name_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>, pub lookup_by_name_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>, pub lookup_by_address: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GInetAddress, _: *mut GCancellable, _: *mut *mut GError) -> *mut c_char>, pub lookup_by_address_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GInetAddress, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>, pub lookup_by_address_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut c_char>, pub lookup_service: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>, pub lookup_service_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>, pub lookup_service_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>, pub lookup_records: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverRecordType, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>, pub lookup_records_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverRecordType, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>, pub lookup_records_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>, pub lookup_by_name_with_flags_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverNameLookupFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>, pub lookup_by_name_with_flags_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>, pub lookup_by_name_with_flags: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverNameLookupFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>,
}

Fields

parent_class: GObjectClassreload: Option<unsafe extern "C" fn(_: *mut GResolver)>lookup_by_name: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>lookup_by_name_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>lookup_by_name_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>lookup_by_address: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GInetAddress, _: *mut GCancellable, _: *mut *mut GError) -> *mut c_char>lookup_by_address_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GInetAddress, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>lookup_by_address_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut c_char>lookup_service: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>lookup_service_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>lookup_service_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>lookup_records: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverRecordType, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>lookup_records_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverRecordType, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>lookup_records_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>lookup_by_name_with_flags_async: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverNameLookupFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>lookup_by_name_with_flags_finish: Option<unsafe extern "C" fn(_: *mut GResolver, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GList>lookup_by_name_with_flags: Option<unsafe extern "C" fn(_: *mut GResolver, _: *const c_char, _: GResolverNameLookupFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GList>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.