Struct fs_err::DirEntry [−][src]
pub struct DirEntry { /* fields omitted */ }
Wrapper around std::fs::DirEntry
which adds more
helpful information to all errors.
Implementations
impl DirEntry
[src]
impl DirEntry
[src]pub fn path(&self) -> PathBuf
[src]
pub fn path(&self) -> PathBuf
[src]Wrapper for DirEntry::path
.
pub fn metadata(&self) -> Result<Metadata>
[src]
pub fn metadata(&self) -> Result<Metadata>
[src]Wrapper for DirEntry::metadata
.
pub fn file_type(&self) -> Result<FileType>
[src]
pub fn file_type(&self) -> Result<FileType>
[src]Wrapper for DirEntry::file_type
.
pub fn file_name(&self) -> OsString
[src]
pub fn file_name(&self) -> OsString
[src]Wrapper for DirEntry::file_name
.