# Trait std::os::wasi::fs::MetadataExt[−][src]

    pub trait MetadataExt {
        fn dev(&self) -> u64;
        fn ino(&self) -> u64;
        fn nlink(&self) -> u64;
        fn size(&self) -> u64;
        fn atim(&self) -> u64;
        fn mtim(&self) -> u64;
        fn ctim(&self) -> u64;
    }

🔬 This is a nightly-only experimental API. (`wasi_ext`)
This is supported on WASI only.

WASI-specific extensions to `fs::Metadata`.

## Required methods

### `fn dev(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_dev` field of the internal `filestat_t`

### `fn ino(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_ino` field of the internal `filestat_t`

### `fn nlink(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_nlink` field of the internal `filestat_t`

### `fn size(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_size` field of the internal `filestat_t`

### `fn atim(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_atim` field of the internal `filestat_t`

### `fn mtim(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_mtim` field of the internal `filestat_t`

### `fn ctim(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

Returns the `st_ctim` field of the internal `filestat_t`

Loading content...

## Implementors

### `impl MetadataExt for Metadata`[src]

#### `fn dev(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

#### `fn ino(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

#### `fn nlink(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

#### `fn size(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

#### `fn atim(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

#### `fn mtim(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)

#### `fn ctim(&self) -> u64`[src]

🔬 This is a nightly-only experimental API. (`wasi_ext`)
Loading content...