Struct rustix::fs::Stat

source · []
#[repr(C)]
pub struct Stat {
Show 16 fields pub st_dev: u64, pub st_mode: u32, pub st_nlink: u32, pub st_uid: u32, pub st_gid: u32, pub st_rdev: u64, pub st_size: i64, pub st_blksize: u32, pub st_blocks: u64, pub st_atime: u64, pub st_atime_nsec: u32, pub st_mtime: u64, pub st_mtime_nsec: u32, pub st_ctime: u64, pub st_ctime_nsec: u32, pub st_ino: u64,
}
Available on crate feature fs only.
Expand description

struct stat for use with statat and fstat.

Fields

st_dev: u64st_mode: u32st_nlink: u32st_uid: u32st_gid: u32st_rdev: u64st_size: i64st_blksize: u32st_blocks: u64st_atime: u64st_atime_nsec: u32st_mtime: u64st_mtime_nsec: u32st_ctime: u64st_ctime_nsec: u32st_ino: u64

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.