pub async fn write_async( path: &Path, contents: impl AsRef<[u8]>, ) -> Result<(), Error>
Write a file with contextual error (async)