Result type for gRPC client call completion.
Definition in file completion_status.hpp.
Go to the source code of this file.
#include <cstdint>#include <string_view>#include <grpcpp/support/status.h>#include <userver/utils/expected.hpp>
This graph shows which files directly or indirectly include this file:Namespaces | |
| namespace | ugrpc |
| Asynchronous gRPC driver. | |
| namespace | ugrpc::client |
| Client-side utilities. | |
Typedefs | |
| using | ugrpc::client::CompletionStatus = utils::expected<grpc::Status, SpecialCaseCompletionType> |
| Result type for gRPC client call completion. | |
Enumerations | |
| enum class | ugrpc::client::SpecialCaseCompletionType : std::uint8_t { ugrpc::client::kNetworkError , ugrpc::client::kTimeoutDeadlinePropagated , ugrpc::client::kCancelled , ugrpc::client::kAbandoned } |
Special completion types for gRPC client calls that don't result in a normal grpc::Status. More... | |
Functions | |
| std::string_view | ugrpc::client::ToString (SpecialCaseCompletionType type) |
| Convert SpecialCaseCompletionType to string representation. | |
| std::string_view | ugrpc::client::GetSpecialCaseCompletionTypeDescription (SpecialCaseCompletionType type) |
| Convert SpecialCaseCompletionType to human-readable description. | |