append

Function append 

Source
pub async fn append(
    path: impl AsRef<Path>,
    contents: impl AsRef<[u8]>,
) -> Result<()>
Expand description

Append data to a file, creating it if it doesn’t exist.