Expand description
SocketTransport — the client side of the daemon UDS (PLAN-phase2 §2.10).
Line-JSON frames (wire.rs). A writer task owns the write half; the
reader lives on the transport. Backpressure mirrors LocalTransport:
send fails with Backpressure when the bounded writer queue is full and
Closed once the socket is gone — never a silent drop.
Tracing here logs frame types only (ClientFrame’s redacting Debug).
Structs§
- Connected
- A connection past
Hello/Welcome, beforeAttach. - Frame
Buf - Reused line buffer for
read_frame: a bigAttached/MessageHistoryframe grows it once; after any frame > 1 MiB it shrinks back to 64 KiB so the peak is not retained for the life of the connection (§2.1 #1). - Pong
- Socket
Transport