Function async_delete_dir
Source pub async fn async_delete_dir(path: &str) -> Result<(), Error>
Expand description
Asynchronously deletes a directory and all its contents.
§Arguments
&str
- The directory path to delete.
§Returns
Result<(), std::io::Error>
- Ok if the directory was deleted successfully, Err with error details otherwise.