Function tokio::fs::read_dir

source · []
pub fn read_dir<P>(path: P) -> ReadDirFuture<P> where
    P: 'static + AsRef<Path> + Send
Expand description

Returns a stream over the entries within a directory.

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