Expand description
Private local runtime transport, independent of cache and project-job RPC. Owner-private runtime RPC, independent of cache and Cargo-job protocol versions.
Structs§
- Client
- Owner-private runtime client; no solver process or fallback is ever started here.
- Deadline
- One Unix stream with an absolute read/write deadline, including trickle input.
Enums§
- Request
- One bounded local request; each connection carries exactly one request.
- Response
- One complete local response; partial frames never establish a solver result.
Constants§
- IO_
TIMEOUT - Absolute deadline for control requests and frame input/output.
- MAX_
REQUEST_ BYTES - Maximum encoded request frame, checked before allocation.
- MAX_
RESPONSE_ BYTES - Maximum encoded response frame, including byte-array JSON overhead.
- VERSION
- Transport framing version, independent of the payload’s version.
Functions§
- private_
parent - Verify or create the immediate owner-private directory of a runtime socket.
- read_
frame - Read one bounded fresh frame, rejecting unknown versions and malformed payloads.
- socket_
path - The runtime endpoint derived from the same canonical cache namespace as jobs.
- validate_
socket - Authenticate the local filesystem ownership boundary before connecting.
- write_
frame - Write one independently versioned frame with a hard serialization bound.