pub fn atomic_write_toml_temp(
path: &Path,
contents: &str,
) -> Result<(), Box<FsError>>Expand description
Writes contents to a PID-scoped TOML temp file and atomically publishes it.
This is useful when the caller wants a predictable temporary name per process and does not need to manage the temp file path directly.