pub async fn write<P: AsRef<Path>, C: IoBuf>( path: P, contents: C, ) -> (Result<()>, C)
Write a buffer as the entire contents of a file.