Function gio::bus_watch_name_on_connection
source · [−]pub fn bus_watch_name_on_connection<NameAppeared, NameVanished>(
connection: &DBusConnection,
name: &str,
flags: BusNameWatcherFlags,
name_appeared: NameAppeared,
name_vanished: NameVanished
) -> WatcherId where
NameAppeared: Fn(DBusConnection, &str, &str) + Send + Sync + 'static,
NameVanished: Fn(DBusConnection, &str) + Send + Sync + 'static,