[][src]Function tokio::fs::read_dir

pub async fn read_dir(path: impl AsRef<Path>) -> Result<ReadDir>
This is supported on feature="fs" only.

Returns a stream over the entries within a directory.

This is an async version of std::fs::read_dir