Skip to main content

Module data_plane

Module data_plane 

Source
Expand description

Length-framed binary transport for large worker source and artifact payloads. Length-framed binary transport for large worker source and artifact payloads.

Structs§

WorkerDataPlaneFrameHeader
Validated header for one length-framed worker payload.
WorkerDataPlaneSequence
Per-direction monotonic frame-sequence validator.

Enums§

WorkerDataPlaneFrameError
Stable binary-frame parsing or serialization failure.
WorkerDataPlaneFrameKind
Typed frame carried by the full-duplex worker data plane.

Constants§

MAX_WORKER_DATA_PLANE_ARTIFACT_BYTES
Maximum sealed physical-iPhone artifact returned by a worker.
MAX_WORKER_DATA_PLANE_CONTROL_BYTES
Maximum cancellation or acknowledgement JSON size.
MAX_WORKER_DATA_PLANE_REQUEST_BYTES
Maximum build-request JSON size.
MAX_WORKER_DATA_PLANE_RESULT_BYTES
Maximum terminal result JSON size.
MAX_WORKER_DATA_PLANE_SOURCE_BYTES
Maximum snapshot ZIP accepted from a client.
WORKER_DATA_PLANE_HEADER_BYTES
Exact encoded size of one binary worker data-plane frame header.
WORKER_DATA_PLANE_SCHEMA_VERSION
Current schema for binary worker data-plane frame headers.

Functions§

copy_worker_data_plane_payload
Stream exactly one validated payload into a sink with constant memory.
read_worker_data_plane_header
Decode and validate one fixed-size frame header without reading its payload.
read_worker_data_plane_payload
Read one bounded in-memory payload after its validated header.
write_worker_data_plane_frame
Write one bounded in-memory frame.
write_worker_data_plane_header
Encode one validated header without buffering its payload.
write_worker_data_plane_stream
Write one header followed by an exact-length streamed payload.