rustix::fs

Type Alias Statx

Source
pub type Statx = statx;
Available on crate feature fs only.
Expand description

struct statx for use with statx.

Aliased Type§

struct Statx {
Show 24 fields pub stx_mask: u32, pub stx_blksize: u32, pub stx_attributes: u64, pub stx_nlink: u32, pub stx_uid: u32, pub stx_gid: u32, pub stx_mode: u16, pub __spare0: [u16; 1], pub stx_ino: u64, pub stx_size: u64, pub stx_blocks: u64, pub stx_attributes_mask: u64, pub stx_atime: statx_timestamp, pub stx_btime: statx_timestamp, pub stx_ctime: statx_timestamp, pub stx_mtime: statx_timestamp, pub stx_rdev_major: u32, pub stx_rdev_minor: u32, pub stx_dev_major: u32, pub stx_dev_minor: u32, pub stx_mnt_id: u64, pub stx_dio_mem_align: u32, pub stx_dio_offset_align: u32, pub __spare3: [u64; 12],
}

Fields§

§stx_mask: u32§stx_blksize: u32§stx_attributes: u64§stx_nlink: u32§stx_uid: u32§stx_gid: u32§stx_mode: u16§__spare0: [u16; 1]§stx_ino: u64§stx_size: u64§stx_blocks: u64§stx_attributes_mask: u64§stx_atime: statx_timestamp§stx_btime: statx_timestamp§stx_ctime: statx_timestamp§stx_mtime: statx_timestamp§stx_rdev_major: u32§stx_rdev_minor: u32§stx_dev_major: u32§stx_dev_minor: u32§stx_mnt_id: u64§stx_dio_mem_align: u32§stx_dio_offset_align: u32§__spare3: [u64; 12]

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 256 bytes