Skip to main content

emit_report_json

Function emit_report_json 

Source
pub fn emit_report_json(report: &Value) -> Result<String, i32>
Expand description

Encodes one report value as bounded JSON text.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::emit_report_json or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::emit_report_json cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::binaries::emit_report_json(todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.