Function fuchsia_fs::directory::readdir_with_timeout
source · pub async fn readdir_with_timeout(
dir: &DirectoryProxy,
timeout: MonotonicDuration,
) -> Result<Vec<DirEntry>, EnumerateError>
Expand description
Returns a sorted Vec of directory entries contained directly in the given directory proxy. The
returned entries will not include “.” or nodes from any subdirectories. Timeouts if the read
takes longer than the given timeout
duration.