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

pub fn read_dir<P>(path: P) -> ReadDirFuture<P> 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