Skip to main content

WalkerDirEntry

Trait WalkerDirEntry 

Source
pub trait WalkerDirEntry: Send {
    // Required methods
    fn name(&self) -> &str;
    fn is_dir(&self) -> bool;
    fn is_file(&self) -> bool;
    fn is_symlink(&self) -> bool;
}
Expand description

A single entry returned by WalkerFs::list_dir.

Required Methods§

Source

fn name(&self) -> &str

The entry name (file or directory name, not full path).

Source

fn is_dir(&self) -> bool

True if this entry is a directory.

Source

fn is_file(&self) -> bool

True if this entry is a regular file.

True if this entry is a symbolic link.

Implementors§