pub fn bus_get<P: FnOnce(Result<DBusConnection, Error>) + Send + 'static>(
cancellable: Option<&impl IsA<Cancellable>>,
Asynchronously connects to the message bus specified by
When the operation is finished,
callback will be invoked. You can
g_bus_get_finish() to get the result of the operation.
This is an asynchronous failable function. See
the synchronous version.
GAsyncReadyCallback to call when the request is satisfied