Public Attributes | List of all members
grpc_event Struct Reference

#include <grpc_types.h>

Public Attributes

int success
 
void * tag
 
grpc_completion_type type
 

Detailed Description

The result of an operation.

Returned by a completion queue when the operation started with tag.

Definition at line 564 of file grpc_types.h.

Member Data Documentation

◆ success

int grpc_event::success

If the grpc_completion_type is GRPC_OP_COMPLETE, this field indicates whether the operation was successful or not; 0 in case of failure and non-zero in case of success. If grpc_completion_type is GRPC_QUEUE_SHUTDOWN or GRPC_QUEUE_TIMEOUT, this field is guaranteed to be 0

Definition at line 572 of file grpc_types.h.

◆ tag

void* grpc_event::tag

The tag passed to grpc_call_start_batch etc to start this operation. Only* GRPC_OP_COMPLETE has a tag. For all other grpc_completion_type values, tag is uninitialized.

Definition at line 576 of file grpc_types.h.

◆ type

grpc_completion_type grpc_event::type

The type of the completion.

Definition at line 566 of file grpc_types.h.


The documentation for this struct was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46