[][src]Struct wasihost_core::wasi_snapshot_preview1::native::filestat

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,
}

File attributes.

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 Clone for filestat[src]

impl Copy for filestat[src]

impl Debug for filestat[src]

impl Default for filestat[src]

impl WasmValue for filestat[src]

Auto Trait Implementations

impl RefUnwindSafe for filestat

impl Send for filestat

impl Sync for filestat

impl Unpin for filestat

impl UnwindSafe for filestat

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> Same<T> for T[src]

type Output = T

Should always be Self

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.