pub unsafe fn record_output( ty: &str, val: &dyn Display, tag: *mut i8, ) -> Result<(), Error>
Records a value to the output.
Returns an error if the write fails.