Function write

Source
pub async fn write<P: AsRef<Path>, C: IoBuf>(
    path: P,
    contents: C,
) -> (Result<()>, C)
Expand description

Write a buffer as the entire contents of a file.