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

Name

Folder name or file name without extension.

Ext

File extension.

FullName

Folder name or file name with extention.

Path

Path to file or directory.

DosPath

Dos path to file or directory.

FileSize

File size in bytes.

Size

Size file or directory in bytes.

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

IsDir

Return whether entry is directory or not.

IsFile

Return whether entry is file or not.

Modified

Last modification time for directory entry.

Accessed

Last access time for directory entry.

Created

Created time for directory entry.

Attention!: Not supported UNIX platform.

BaseInfo

Return or not return base information target folder.

Trait Implementations

impl Clone for DirEntryAttr[src]

impl Eq for DirEntryAttr[src]

impl Hash for DirEntryAttr[src]

impl PartialEq<DirEntryAttr> for DirEntryAttr[src]

impl StructuralEq for DirEntryAttr[src]

impl StructuralPartialEq for DirEntryAttr[src]

Auto Trait Implementations

impl RefUnwindSafe for DirEntryAttr

impl Send for DirEntryAttr

impl Sync for DirEntryAttr

impl Unpin for DirEntryAttr

impl UnwindSafe for DirEntryAttr

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.