Enum fs_extra::dir::DirEntryAttr [] [src]

pub enum DirEntryAttr {
    Name,
    Ext,
    FullName,
    Path,
    DosPath,
    FileSize,
    Size,
    IsDir,
    IsFile,
    Modified,
    Accessed,
    Created,
    BaseInfo,
}

Available attributes for get information about directory entry.

Variants

Folder name or file name without extension.

File extension.

Folder name or file name with extention.

Path to file or directory.

Dos path to file or directory.

File size in bytes.

Size file or directory in bytes.

Attention!: This operation very expensive and sometimes required additional rights.

Return whether entry is directory or not.

Return whether entry is file or not.

Last modification time for directory entry.

Last access time for directory entry.

Created time for directory entry.

Attention!: Not supported UNIX platform.

Return or not return base information target folder.

Trait Implementations

impl Hash for DirEntryAttr
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for DirEntryAttr
[src]

impl PartialEq for DirEntryAttr
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Clone for DirEntryAttr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more