Struct gio_sys::GResolverClass
source · #[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: GObjectClass
§reload: 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§
source§impl Clone for GResolverClass
impl Clone for GResolverClass
source§fn clone(&self) -> GResolverClass
fn clone(&self) -> GResolverClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more