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

#include <metadata_batch.h>

Public Types

using MementoType = Duration
 
using ValueType = Timestamp
 

Static Public Member Functions

static std::string DisplayValue (MementoType x)
 
static Slice Encode (ValueType x)
 
static absl::string_view key ()
 
static ValueType MementoToValue (MementoType timeout)
 
static MementoType ParseMemento (Slice value, MetadataParseErrorFn on_error)
 

Static Public Attributes

static constexpr bool kRepeatable = false
 

Detailed Description

Definition at line 59 of file metadata_batch.h.

Member Typedef Documentation

◆ MementoType

Definition at line 62 of file metadata_batch.h.

◆ ValueType

Definition at line 61 of file metadata_batch.h.

Member Function Documentation

◆ DisplayValue()

static std::string grpc_core::GrpcTimeoutMetadata::DisplayValue ( MementoType  x)
inlinestatic

Definition at line 67 of file metadata_batch.h.

◆ Encode()

Slice grpc_core::GrpcTimeoutMetadata::Encode ( ValueType  x)
static

Definition at line 126 of file metadata_batch.cc.

◆ key()

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

Definition at line 63 of file metadata_batch.h.

◆ MementoToValue()

GrpcTimeoutMetadata::ValueType grpc_core::GrpcTimeoutMetadata::MementoToValue ( MementoType  timeout)
static

Definition at line 118 of file metadata_batch.cc.

◆ ParseMemento()

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

Definition at line 108 of file metadata_batch.cc.

Member Data Documentation

◆ kRepeatable

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

Definition at line 60 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:36