fs_err::tokio

Function read_dir

source
pub async fn read_dir(path: impl AsRef<Path>) -> Result<ReadDir>
Available on crate feature tokio only.
Expand description

Returns a stream over the entries within a directory.

Wrapper for tokio::fs::read_dir.