Function remove_dir
pub async fn remove_dir(path: impl AsRef<Path>) -> Result<()>
Available on crate feature
fs only.Removes an existing, empty directory.
This is an async version of std::fs::remove_dir.
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/fs/fn.remove_dir.html