Type Alias GBusNameLostCallback

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

GBusNameLostCallback: @connection: The #GDBusConnection on which to acquire the name or %NULL if the connection was disconnected. @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 lost or @connection has been closed.

Since: 2.26

Aliased Type§

pub enum GBusNameLostCallback {
    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.