tokio_fs

Function read_dir

Source
pub fn read_dir<P>(path: P) -> ReadDirFuture<P>
where P: AsRef<Path> + Send + 'static,
Expand description

Returns a stream over the entries within a directory.

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