#include <serve-protocol.hh>
Classes | |
struct | BasicClientConnection |
struct | BasicServerConnection |
struct | BuildOptions |
struct | ReadConn |
struct | Serialise |
struct | Serialise< BuildResult > |
struct | Serialise< ServeProto::BuildOptions > |
struct | Serialise< std::map< K COMMA_ V > > |
struct | Serialise< std::set< T > > |
struct | Serialise< std::tuple< Ts... > > |
struct | Serialise< std::vector< T > > |
struct | Serialise< UnkeyedValidPathInfo > |
struct | WriteConn |
Public Types | |
enum struct | Command : uint64_t { QueryValidPaths = 1 , QueryPathInfos = 2 , DumpStorePath = 3 , ImportPaths = 4 , ExportPaths = 5 , BuildPaths = 6 , QueryClosure = 7 , BuildDerivation = 8 , AddToStoreNar = 9 } |
using | Version = unsigned int |
Static Public Member Functions | |
template<typename T> | |
static void | write (const StoreDirConfig &store, WriteConn conn, const T &t) |
The "serve protocol", used by ssh:// stores.
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.
using nix::ServeProto::Version = unsigned int |
|
inlinestatic |
Wrapper function around ServeProto::Serialise<T>::write
that allows us to infer the type instead of having to write it down explicitly.