Public Types | Static Public Member Functions | Static Public Attributes | List of all members
grpc_core::TeMetadata Struct Reference

#include <metadata_batch.h>

Public Types

using MementoType = ValueType
 
enum  ValueType : uint8_t { kTrailers, kInvalid }
 

Static Public Member Functions

static const char * DisplayValue (MementoType te)
 
static StaticSlice Encode (ValueType x)
 
static absl::string_view key ()
 
static ValueType MementoToValue (MementoType te)
 
static MementoType ParseMemento (Slice value, MetadataParseErrorFn on_error)
 

Static Public Attributes

static constexpr bool kRepeatable = false
 

Detailed Description

Definition at line 71 of file metadata_batch.h.

Member Typedef Documentation

◆ MementoType

Definition at line 80 of file metadata_batch.h.

Member Enumeration Documentation

◆ ValueType

Enumerator
kTrailers 
kInvalid 

Definition at line 76 of file metadata_batch.h.

Member Function Documentation

◆ DisplayValue()

const char * grpc_core::TeMetadata::DisplayValue ( MementoType  te)
static

Definition at line 141 of file metadata_batch.cc.

◆ Encode()

static StaticSlice grpc_core::TeMetadata::Encode ( ValueType  x)
inlinestatic

Definition at line 84 of file metadata_batch.h.

◆ key()

static absl::string_view grpc_core::TeMetadata::key ( )
inlinestatic

Definition at line 81 of file metadata_batch.h.

◆ MementoToValue()

static ValueType grpc_core::TeMetadata::MementoToValue ( MementoType  te)
inlinestatic

Definition at line 83 of file metadata_batch.h.

◆ ParseMemento()

TeMetadata::MementoType grpc_core::TeMetadata::ParseMemento ( Slice  value,
MetadataParseErrorFn  on_error 
)
static

Definition at line 130 of file metadata_batch.cc.

Member Data Documentation

◆ kRepeatable

constexpr bool grpc_core::TeMetadata::kRepeatable = false
staticconstexpr

Definition at line 72 of file metadata_batch.h.


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


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