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: __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: __u64stx_dio_mem_align: __u32stx_dio_offset_align: __u32stx_subvol: __u64stx_atomic_write_unit_min: __u32stx_atomic_write_unit_max: __u32stx_atomic_write_segments_max: __u32stx_dio_read_offset_align: __u32stx_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) -> TReturns the argument unchanged.
impl<T, U> Into<U> for statx
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses 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>