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