Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::WorkerProto::BasicConnection Struct Reference
Inheritance diagram for nix::WorkerProto::BasicConnection:
nix::WorkerProto::BasicClientConnection nix::WorkerProto::BasicServerConnection nix::RemoteStore::Connection nix::SSHStore::Connection

Public Member Functions

 operator WorkerProto::ReadConn ()
 
 operator WorkerProto::WriteConn ()
 

Public Attributes

FdSink to
 
FdSource from
 
WorkerProto::Version protoVersion
 
std::set< Feature > features
 

Member Function Documentation

◆ operator WorkerProto::ReadConn()

nix::WorkerProto::BasicConnection::operator WorkerProto::ReadConn ( )
inline

Coercion to WorkerProto::ReadConn. This makes it easy to use the factored out serve protocol serializers with a LegacySSHStore::Connection.

The serve protocol connection types are unidirectional, unlike this type.

◆ operator WorkerProto::WriteConn()

nix::WorkerProto::BasicConnection::operator WorkerProto::WriteConn ( )
inline

Coercion to WorkerProto::WriteConn. This makes it easy to use the factored out serve protocol serializers with a LegacySSHStore::Connection.

The serve protocol connection types are unidirectional, unlike this type.

Member Data Documentation

◆ features

std::set<Feature> nix::WorkerProto::BasicConnection::features

The set of features that both sides support.

◆ from

FdSource nix::WorkerProto::BasicConnection::from

Receive with this.

◆ protoVersion

WorkerProto::Version nix::WorkerProto::BasicConnection::protoVersion

The protocol version agreed by both sides.

◆ to

FdSink nix::WorkerProto::BasicConnection::to

Send with this.


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