cap_fs_ext

Trait DirEntryExt

Source
pub trait DirEntryExt {
    // Required method
    fn full_metadata(&self) -> Result<Metadata>;
}
Expand description

Extension trait for DirEntry.

Required Methods§

Source

fn full_metadata(&self) -> Result<Metadata>

Return the full metadata, which on Windows includes the optional values.

If the full metadata cannot be computed, this fails rather than falling back to partial metadata, even when that might not fail. If partial metadata is desired, std::fs::DirEntry::metadata can be used.

Implementations on Foreign Types§

Source§

impl DirEntryExt for DirEntry

Implementors§