pub fn write_temp_body_chunk(file: &mut File, data: &[u8]) -> i32Expand description
Writes one bounded body chunk, retrying short writes without invoking external code.
§Parameters
file: Input consumed bycrate::http::write_temp_body_chunk.data: Input consumed bycrate::http::write_temp_body_chunk.
§Returns
Returns the computed value produced by crate::http::write_temp_body_chunk.
§Examples
ⓘ
let _result = pharos_runtime_core::http::write_temp_body_chunk(todo!(), b"");§Related
crate::httpfor adjacent helpers that share the same runtime surface.