#include <common-protocol.hh>
Classes | |
struct | ReadConn |
struct | Serialise |
struct | Serialise< ContentAddress > |
struct | Serialise< DrvOutput > |
struct | Serialise< Realisation > |
struct | Serialise< std::map< K COMMA_ V > > |
struct | Serialise< std::optional< ContentAddress > > |
struct | Serialise< std::optional< StorePath > > |
struct | Serialise< std::set< T > > |
struct | Serialise< std::string > |
struct | Serialise< std::tuple< Ts... > > |
struct | Serialise< std::vector< T > > |
struct | Serialise< StorePath > |
struct | WriteConn |
Static Public Member Functions | |
template<typename T> | |
static void | write (const StoreDirConfig &store, WriteConn conn, const T &t) |
Shared serializers between the worker protocol, serve protocol, and a few others.
This struct
is basically just a namespace
; We use a type rather than a namespace just so we can use it as a template argument.
|
inlinestatic |
Wrapper function around CommonProto::Serialise<T>::write
that allows us to infer the type instead of having to write it down explicitly.