[][src]Struct wasi::Filestat

#[repr(C)]
pub struct Filestat {
    pub dev: Device,
    pub ino: Inode,
    pub filetype: Filetype,
    pub nlink: Linkcount,
    pub size: Filesize,
    pub atim: Timestamp,
    pub mtim: Timestamp,
    pub ctim: Timestamp,
}

Fields

dev: Device

Device ID of device containing the file.

ino: Inode

File serial number.

filetype: Filetype

File type.

nlink: Linkcount

Number of hard links to the file.

size: Filesize

For regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.

atim: Timestamp

Last data access timestamp.

mtim: Timestamp

Last data modification timestamp.

ctim: Timestamp

Last file status change timestamp.

Trait Implementations

impl Copy for Filestat[src]

impl Clone for Filestat[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.