#[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 moreSource§impl Debug for GResolverClass
impl Debug for GResolverClass
impl Copy for GResolverClass
Auto Trait Implementations§
impl Freeze for GResolverClass
impl RefUnwindSafe for GResolverClass
impl !Send for GResolverClass
impl !Sync for GResolverClass
impl Unpin for GResolverClass
impl UnwindSafe for GResolverClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more