pub fn emit_text_file_to_stdout(path: &Path) -> Result<String, i32>Expand description
Writes a bounded text file to stdout as a string result.
§Parameters
path: Input consumed bycrate::binaries::emit_text_file_to_stdout.
§Returns
Returns the successful value produced by crate::binaries::emit_text_file_to_stdout or an error when the operation fails.
§Errors
Returns an error value when crate::binaries::emit_text_file_to_stdout cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::binaries::emit_text_file_to_stdout.
§Examples
ⓘ
let _result = pharos_native::binaries::emit_text_file_to_stdout(std::path::Path::new("fixture.json"));§Related
crate::binariesfor adjacent helpers that share the same runtime surface.