Skip to main content

emit_stream_trailer

Function emit_stream_trailer 

Source
pub fn emit_stream_trailer<T: Serialize>(value: &T) -> Result<(), AppError>
Expand description

Writes the line that ends a stream, carrying its one agent_surface record.

GAP-SG-215. Never shaped: the trailer describes the stream, so a --select aimed at the records must neither fail on it nor rewrite it. Both were measured โ€” --select name export exited 2 on this line, and --select namespace export silently deleted summary: true from it.

ยงErrors

Returns Err when serialization fails or on a non-BrokenPipe I/O error.