fuchsia_fs::directory

Function readdir

Source
pub async fn readdir(
    dir: &DirectoryProxy,
) -> 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.