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 anErr
with the error details.