pub fn write<C>(path: &str, contents: C) -> Result<(), AxError>where C: AsRef<[u8]>,
fs
Write a slice as the entire contents of a file.