Skip to main content

serialize_trace_export_programmatic_json

Function serialize_trace_export_programmatic_json 

Source
pub fn serialize_trace_export_programmatic_json(
    output: TraceExportProgrammaticOutput,
) -> Result<Value, ProgrammaticError>
Expand description

Serialize typed export-trace output into the JSON compatibility contract.

ยงErrors

Returns a structured error if the trace output cannot be serialized.