Function gio::bus_own_name_on_connection
source · [−]pub fn bus_own_name_on_connection<NameAcquired, NameLost>(
connection: &DBusConnection,
name: &str,
flags: BusNameOwnerFlags,
name_acquired: NameAcquired,
name_lost: NameLost
) -> OwnerId where
NameAcquired: Fn(DBusConnection, &str) + Send + Sync + 'static,
NameLost: Fn(DBusConnection, &str) + Send + Sync + 'static,