Struct libc::statx

source · []
#[repr(C)]
pub struct statx {
Show 20 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 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, /* private fields */
}

Fields

stx_mask: u32stx_blksize: u32stx_attributes: u64stx_nlink: u32stx_uid: u32stx_gid: u32stx_mode: u16stx_ino: u64stx_size: u64stx_blocks: u64stx_attributes_mask: u64stx_atime: statx_timestampstx_btime: statx_timestampstx_ctime: statx_timestampstx_mtime: statx_timestampstx_rdev_major: u32stx_rdev_minor: u32stx_dev_major: u32stx_dev_minor: u32stx_mnt_id: 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

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 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.