Skip to main content

write_json_at

Function write_json_at 

Source
fn write_json_at<T: Serialize>(
    path: &Path,
    value: &T,
) -> Result<(), StorageError>
Expand description

Serialises value and writes it 0600 at path, replacing whatever was there in one step.