Type Alias GBusNameAppearedCallback

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

GBusNameAppearedCallback: @connection: The #GDBusConnection the name is being watched on. @name: The name being watched. @name_owner: Unique name of the owner of the name being watched. @user_data: User data passed to g_bus_watch_name().

Invoked when the name being watched is known to have to have an owner.

Since: 2.26

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.