pub fn write_temp_body_file(body: Option<&[u8]>) -> Result<PathBuf, i32>Expand description
Writes a bounded request body to a uniquely-created temporary file.
§Parameters
body: Input consumed bycrate::runtime::ops_bridge::write_temp_body_file.
§Returns
Returns the successful value produced by crate::runtime::ops_bridge::write_temp_body_file or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::ops_bridge::write_temp_body_file cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::ops_bridge::write_temp_body_file(b"");§Related
crate::runtime::ops_bridgefor adjacent helpers that share the same runtime surface.