GRPC C++  1.78.1
Data Structures | Namespaces | Functions | Variables
serialization_traits.h File Reference
#include <grpc/event_engine/memory_allocator.h>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Data Structures

class  grpc::SerializationTraits< Message, UnusedButHereForPartialTemplateSpecialization >
 Defines how to serialize and deserialize some type. More...
 
struct  grpc::impl::has_allocator_serialize< Message, BufferPtr, typename >
 
struct  grpc::impl::has_allocator_serialize< Message, BufferPtr, std::void_t< decltype(SerializationTraits< Message >::Serialize(std::declval< grpc_event_engine::experimental::MemoryAllocator * >(), std::declval< const Message & >(), std::declval< BufferPtr >(), std::declval< bool * >()))> >
 
struct  grpc::impl::SerializeDispatch< Message, BufferPtr, bool >
 
struct  grpc::impl::SerializeDispatch< Message, BufferPtr, true >
 
struct  grpc::impl::SerializeDispatch< Message, BufferPtr, false >
 

Namespaces

 grpc
 An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation.
 
 grpc::impl
 

Functions

template<typename Message , typename BufferPtr >
auto grpc::Serialize (grpc_event_engine::experimental::MemoryAllocator *allocator, const Message &msg, BufferPtr buffer, bool *own_buffer)
 
template<typename BufferPtr , typename Message >
auto grpc::Deserialize (BufferPtr buffer, Message *msg)
 

Variables

template<typename Message , typename BufferPtr >
constexpr bool grpc::impl::has_allocator_serialize_v