pub struct Information(_);
Returns file attributes.
This corresponds to dwFileAttributes
.
Returns true if and only if this file information has the
FILE_ATTRIBUTE_HIDDEN
attribute.
Return the creation time, if one exists.
This corresponds to ftCreationTime
.
Return the last access time, if one exists.
This corresponds to ftLastAccessTime
.
Return the last write time, if one exists.
This corresponds to ftLastWriteTime
.
Return the serial number of the volume that the file is on.
This corresponds to dwVolumeSerialNumber
.
Return the file size, in bytes.
This corresponds to nFileSizeHigh
and nFileSizeLow
.
Return the number of links to this file.
This corresponds to nNumberOfLinks
.
Return the index of this file. The index of a file is a purpotedly
unique identifier for a file within a particular volume.
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static