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
sourceimpl Clone for GResolverClass
impl Clone for GResolverClass
sourcefn clone(&self) -> GResolverClass
fn clone(&self) -> GResolverClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GResolverClass
impl Debug for GResolverClass
impl Copy for GResolverClass
Auto Trait Implementations
impl RefUnwindSafe for GResolverClass
impl !Send for GResolverClass
impl !Sync for GResolverClass
impl Unpin for GResolverClass
impl UnwindSafe for GResolverClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more