Function tokio::fs::remove_dir

source ·
pub async fn remove_dir(path: impl AsRef<Path>) -> Result<()>
Available on crate feature fs only.
Expand description

Removes an existing, empty directory.

This is an async version of std::fs::remove_dir.