[][src]Struct fuser::FileAttr

pub struct FileAttr {
    pub ino: u64,
    pub size: u64,
    pub blocks: u64,
    pub atime: SystemTime,
    pub mtime: SystemTime,
    pub ctime: SystemTime,
    pub crtime: SystemTime,
    pub kind: FileType,
    pub perm: u16,
    pub nlink: u32,
    pub uid: u32,
    pub gid: u32,
    pub rdev: u32,
    pub blksize: u32,
    pub padding: u32,
    pub flags: u32,
}

File attributes

Fields

ino: u64

Inode number

size: u64

Size in bytes

blocks: u64

Size in blocks

atime: SystemTime

Time of last access

mtime: SystemTime

Time of last modification

ctime: SystemTime

Time of last change

crtime: SystemTime

Time of creation (macOS only)

kind: FileType

Kind of file (directory, file, pipe, etc)

perm: u16

Permissions

nlink: u32

Number of hard links

uid: u32

User id

gid: u32

Group id

rdev: u32

Rdev

blksize: u32

Block size

padding: u32

Padding

flags: u32

Flags (macOS only, see chflags(2))

Trait Implementations

impl Clone for FileAttr[src]

impl Copy for FileAttr[src]

impl Debug for FileAttr[src]

impl Eq for FileAttr[src]

impl PartialEq<FileAttr> for FileAttr[src]

impl StructuralEq for FileAttr[src]

impl StructuralPartialEq for FileAttr[src]

Auto Trait Implementations

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.