Function async_delete_file

Source
pub async fn async_delete_file(path: &str) -> Result<(), Error>
Expand description

Asynchronously deletes a file at the given path.

  • path: The file path to delete.

  • Returns: Ok(()) if the file was deleted successfully, or an Err with the error details.