Struct statx

#[repr(C)]
pub struct statx { 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, pub stx_dio_mem_align: __u32, pub stx_dio_offset_align: __u32, pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, pub stx_dio_read_offset_align: __u32, pub stx_atomic_write_unit_max_opt: __u32, /* private fields */ }

Fields

stx_mask: __u32
stx_blksize: __u32
stx_attributes: __u64
stx_nlink: __u32
stx_uid: __u32
stx_gid: __u32
stx_mode: __u16
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
stx_subvol: __u64
stx_atomic_write_unit_min: __u32
stx_atomic_write_unit_max: __u32
stx_atomic_write_segments_max: __u32
stx_dio_read_offset_align: __u32
stx_atomic_write_unit_max_opt: __u32

Trait Implementations

impl Clone for statx

fn clone(&self) -> Self

impl Copy for statx

impl Debug for statx

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for statx

impl Hash for statx

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for statx

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for statx

Auto Trait Implementations

impl Freeze for statx

impl RefUnwindSafe for statx

impl Send for statx

impl Sync for statx

impl Unpin for statx

impl UnsafeUnpin for statx

impl UnwindSafe for statx

Blanket Implementations

impl<T> Any for statx where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for statx where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for statx where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for statx where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for statx

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for statx where U: From<T>,

fn into(self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom<U> for statx where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for statx where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>