Auf dieser Seite

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

Beschreibt eine gRPC-Methode mit ihrem Dienstnamen, Methodennamen und RPC-Typ. Mehr...

Kopfzeile: #include <QtGrpcNamespace>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Seit: Qt 6.11

Diese Struktur ist stark vergleichbar.

Öffentliche Variablen

QLatin1StringView method
QLatin1StringView service
QtGrpc::RpcType type
size_t qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0)
QDebug operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description)

Detaillierte Beschreibung

Die RpcDescriptor-Struktur enthält identifizierende Informationen über eine gRPC-Methode, die zur Initiierung und Beschreibung von RPC-Aufrufen verwendet wird. Es ermöglicht QtGrpc, jede Operation mit ihrem Dienst, ihrer Methode und ihrem Kommunikationsmuster zu verknüpfen.

Siehe auch QtGrpc::RpcType.

Dokumentation der Mitgliedsvariablen

QLatin1StringView RpcDescriptor::method

Der Name der gRPC-Methode innerhalb des Dienstes.

QLatin1StringView RpcDescriptor::service

Der Name des gRPC-Dienstes, zu dem diese Methode gehört.

QtGrpc::RpcType RpcDescriptor::type

Die Art von RPC, wie sie von QtGrpc::RpcType definiert wird.

Verwandte Nicht-Mitglieder

[constexpr noexcept] size_t qHash(const QtGrpc::RpcDescriptor &key, size_t seed = 0)

Gibt den Hash-Wert für key zurück, wobei seed als Startwert für die Berechnung verwendet wird.

QDebug operator<<(QDebug debug, const QtGrpc::RpcDescriptor &description)

Schreibt description in den angegebenen Stream debug.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.