[][src]Struct wasihost_core::wasi_snapshot_preview1::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 WasiValue for Filestat[src]

type NativeType = filestat

The native WASM type.

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.