Struct

std::fs::DirEntry!

source
exposed struct DirEntry! {
    name: Buffer!,
    is_directory: bool,
}

An entry of a directory: its name, which owns its bytes, and whether it is a directory. Classification follows symbolic links, uses the entry type the system records where it has one, and counts a failed observation as not a directory, as directory walks do; it is an observation, not access authority.