[][src]Function tokio_fs::read_dir

pub async fn read_dir<P>(path: P) -> Result<ReadDir> where
    P: AsRef<Path> + Send + 'static, 

Returns a stream over the entries within a directory.

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