std::os::unix::fs::MetadataExt - Rust
Description: API documentation for the Rust `MetadataExt` trait in crate `std`.
Keywords: rust, rustlang, rust-lang, MetadataExt

# Trait std::os::unix::fs::MetadataExt 1.1.0 [−] [src]

    pub trait MetadataExt {
        fn dev(&self) -> u64;
        fn ino(&self) -> u64;
        fn mode(&self) -> u32;
        fn nlink(&self) -> u64;
        fn uid(&self) -> u32;
        fn gid(&self) -> u32;
        fn rdev(&self) -> u64;
        fn size(&self) -> u64;
        fn atime(&self) -> i64;
        fn atime_nsec(&self) -> i64;
        fn mtime(&self) -> i64;
        fn mtime_nsec(&self) -> i64;
        fn ctime(&self) -> i64;
        fn ctime_nsec(&self) -> i64;
        fn blksize(&self) -> u64;
        fn blocks(&self) -> u64;
    }

## Required Methods

### `fn dev(&self) -> u64`

### `fn ino(&self) -> u64`

### `fn mode(&self) -> u32`

### `fn nlink(&self) -> u64`

### `fn uid(&self) -> u32`

### `fn gid(&self) -> u32`

### `fn rdev(&self) -> u64`

### `fn size(&self) -> u64`

### `fn atime(&self) -> i64`

### `fn atime_nsec(&self) -> i64`

### `fn mtime(&self) -> i64`

### `fn mtime_nsec(&self) -> i64`

### `fn ctime(&self) -> i64`

### `fn ctime_nsec(&self) -> i64`

### `fn blksize(&self) -> u64`

### `fn blocks(&self) -> u64`

## Implementors

- `impl MetadataExt for Metadata`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)