Skip to main content

write_host_data

Function write_host_data 

Source
pub fn write_host_data(path: &Path, data: &HostData) -> Result<u64>
Expand description

Write data to path in the binary format documented at the module level.

Truncates any existing file. Returns the number of bytes written so callers can surface a “wrote N MiB” log line.