Function write

Source
pub fn write<R>(path: &str, contents: R) -> Result<()>
where R: AsRef<[u8]>,