Struct winapi_util::file::Information[][src]

pub struct Information(_);

Represents file information such as creation time, file size, etc.

This wraps a BY_HANDLE_FILE_INFORMATION.

Methods

impl Information
[src]

Returns file attributes.

This corresponds to dwFileAttributes.

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.

Trait Implementations

impl Clone for Information
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Information

impl Sync for Information