Struct dokan::FileInfo[][src]

pub struct FileInfo {
    pub attributes: u32,
    pub creation_time: SystemTime,
    pub last_access_time: SystemTime,
    pub last_write_time: SystemTime,
    pub file_size: u64,
    pub number_of_links: u32,
    pub file_index: u64,
}

The file information returned by FileSystemHandler::get_file_information.

Fields

attributes: u32

Attribute flags of the files.

It can be combination of one or more file attribute constants defined by Windows.

creation_time: SystemTime

The time when the file was created.

last_access_time: SystemTime

The time when the file was last accessed.

last_write_time: SystemTime

The time when the file was last written to.

file_size: u64

Size of the file.

number_of_links: u32

Number of hardlinks to the file.

file_index: u64

The index that uniquely identifies the file in a volume.

Trait Implementations

impl Clone for FileInfo[src]

impl Debug for FileInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for FileInfo

impl Send for FileInfo

impl Sync for FileInfo

impl Unpin for FileInfo

impl UnwindSafe for FileInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.