Skip to main content

write_worker_data_plane_header

Function write_worker_data_plane_header 

Source
pub fn write_worker_data_plane_header(
    writer: &mut impl Write,
    header: WorkerDataPlaneFrameHeader,
) -> Result<(), WorkerDataPlaneFrameError>
Expand description

Encode one validated header without buffering its payload.

ยงErrors

Returns a stable I/O error if the complete header cannot be written.