Type Alias GBusNameAcquiredCallback

Source
pub type GBusNameAcquiredCallback = Option<unsafe extern "C" fn(connection: *mut GDBusConnection, name: *const gchar, user_data: gpointer)>;
Expand description

GBusNameAcquiredCallback: @connection: The #GDBusConnection on which to acquired the name. @name: The name being owned. @user_data: User data passed to g_bus_own_name() or g_bus_own_name_on_connection().

Invoked when the name is acquired.

Since: 2.26

Aliased Type§

pub enum GBusNameAcquiredCallback {
    None,
    Some(unsafe extern "C" fn(*mut _GDBusConnection, *const i8, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _GDBusConnection, *const i8, *mut c_void))

Some value of type T.