pub trait MetadataExt {
// Required methods
fn file_attributes(&self) -> u32;
fn creation_time(&self) -> u64;
fn last_access_time(&self) -> u64;
fn last_write_time(&self) -> u64;
fn file_size(&self) -> u64;
}
Expand description
Windows-specific extensions to Metadata
.
This corresponds to std::os::windows::fs::MetadataExt
.
Required Methods§
Sourcefn file_attributes(&self) -> u32
fn file_attributes(&self) -> u32
Returns the value of the dwFileAttributes
field of this metadata.
Sourcefn creation_time(&self) -> u64
fn creation_time(&self) -> u64
Returns the value of the ftCreationTime
field of this metadata.
Sourcefn last_access_time(&self) -> u64
fn last_access_time(&self) -> u64
Returns the value of the ftLastAccessTime
field of this metadata.
Sourcefn last_write_time(&self) -> u64
fn last_write_time(&self) -> u64
Returns the value of the ftLastWriteTime
field of this metadata.