#[repr(C)]pub struct _GAsyncInitableIface {
pub g_iface: GTypeInterface,
pub init_async: Option<unsafe extern "C" fn(initable: *mut GAsyncInitable, io_priority: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub init_finish: Option<unsafe extern "C" fn(initable: *mut GAsyncInitable, res: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
}
Expand description
GAsyncInitableIface: @g_iface: The parent interface. @init_async: Starts initialization of the object. @init_finish: Finishes initialization of the object.
Provides an interface for asynchronous initializing object such that initialization may fail.
Since: 2.22
Fields§
§g_iface: GTypeInterface
§init_async: Option<unsafe extern "C" fn(initable: *mut GAsyncInitable, io_priority: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§init_finish: Option<unsafe extern "C" fn(initable: *mut GAsyncInitable, res: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
Trait Implementations§
Source§impl Clone for _GAsyncInitableIface
impl Clone for _GAsyncInitableIface
Source§fn clone(&self) -> _GAsyncInitableIface
fn clone(&self) -> _GAsyncInitableIface
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 _GAsyncInitableIface
impl Debug for _GAsyncInitableIface
Source§impl PartialEq for _GAsyncInitableIface
impl PartialEq for _GAsyncInitableIface
impl Copy for _GAsyncInitableIface
impl Eq for _GAsyncInitableIface
impl StructuralPartialEq for _GAsyncInitableIface
Auto Trait Implementations§
impl Freeze for _GAsyncInitableIface
impl RefUnwindSafe for _GAsyncInitableIface
impl Send for _GAsyncInitableIface
impl Sync for _GAsyncInitableIface
impl Unpin for _GAsyncInitableIface
impl UnwindSafe for _GAsyncInitableIface
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