Function async_append_to_file
Source pub async fn async_append_to_file(
file_path: &str,
content: &[u8],
) -> Result<(), Error>
Expand description
Appends content to a file asynchronously.
§Arguments
&str
- The path to the file.
&[u8]
- The content to append.
§Returns
Result<(), std::io::Error>
- Ok if successful, Err with error details otherwise.