Skip to main content

Module client

Module client 

Source
Expand description

The client half of the local wire.

Deliberately thin. The codec, the bounds, and the strict decoder are the kernel crate’s and are used as-is rather than reimplemented here — a second implementation of the framing is a second thing to keep in step, and the first divergence would be a client that cannot talk to its own daemon.

There is no authentication step. The socket’s mode and the daemon’s same-EUID peer check are the boundary (ADR 0002), so a hello carries a label and a capability wish list and nothing that could widen what this connection may do.

Structs§

Client
One connection, already through the handshake.