Function gio::bus_get

source · []
pub fn bus_get<P: FnOnce(Result<DBusConnection, Error>) + 'static>(
    bus_type: BusType,
    cancellable: Option<&impl IsA<Cancellable>>,
    callback: P
)