Kagome
Polkadot Runtime Engine in C++17
kagome::network::ProtobufMessageAdapter< BlocksResponse > Struct Template Reference

#include <protobuf_block_response.hpp>

Collaboration diagram for kagome::network::ProtobufMessageAdapter< BlocksResponse >:

Static Public Member Functions

static size_t size (const BlocksResponse &t)
 
static std::vector< uint8_t >::iterator write (const BlocksResponse &t, std::vector< uint8_t > &out, std::vector< uint8_t >::iterator loaded)
 
static outcome::result< std::vector< uint8_t >::const_iterator > read (BlocksResponse &out, const std::vector< uint8_t > &src, std::vector< uint8_t >::const_iterator from)
 

Static Private Member Functions

template<typename T , typename F >
static outcome::result< T > extract_value (F &&f)
 
static std::string vector_to_string (std::vector< uint8_t > &&src)
 

Detailed Description

template<>
struct kagome::network::ProtobufMessageAdapter< BlocksResponse >

Definition at line 17 of file protobuf_block_response.hpp.

Member Function Documentation

template<typename T , typename F >
static outcome::result<T> kagome::network::ProtobufMessageAdapter< BlocksResponse >::extract_value ( F &&  f)
inlinestaticprivate

Definition at line 118 of file protobuf_block_response.hpp.

static outcome::result<std::vector<uint8_t>::const_iterator> kagome::network::ProtobufMessageAdapter< BlocksResponse >::read ( BlocksResponse out,
const std::vector< uint8_t > &  src,
std::vector< uint8_t >::const_iterator  from 
)
inlinestatic

Definition at line 58 of file protobuf_block_response.hpp.

static size_t kagome::network::ProtobufMessageAdapter< BlocksResponse >::size ( const BlocksResponse t)
inlinestatic

Definition at line 18 of file protobuf_block_response.hpp.

static std::string kagome::network::ProtobufMessageAdapter< BlocksResponse >::vector_to_string ( std::vector< uint8_t > &&  src)
inlinestaticprivate

Definition at line 130 of file protobuf_block_response.hpp.

static std::vector<uint8_t>::iterator kagome::network::ProtobufMessageAdapter< BlocksResponse >::write ( const BlocksResponse t,
std::vector< uint8_t > &  out,
std::vector< uint8_t >::iterator  loaded 
)
inlinestatic

Definition at line 22 of file protobuf_block_response.hpp.


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