Trait cap_fs_ext::DirEntryExt
source · pub trait DirEntryExt {
// Required method
fn full_metadata(&self) -> Result<Metadata>;
}
Expand description
Extension trait for DirEntry
.
Required Methods§
sourcefn full_metadata(&self) -> Result<Metadata>
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.