#[repr(C)]pub struct LinuxStatx {Show 29 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: LinuxStatxTimestamp,
pub stx_btime: LinuxStatxTimestamp,
pub stx_ctime: LinuxStatxTimestamp,
pub stx_mtime: LinuxStatxTimestamp,
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 __spare3: [u64; 9],
}Expand description
Linux statx structure (matches Linux UAPI layout)
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: LinuxStatxTimestamp§stx_btime: LinuxStatxTimestamp§stx_ctime: LinuxStatxTimestamp§stx_mtime: LinuxStatxTimestamp§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§__spare3: [u64; 9]Trait Implementations§
Source§impl Clone for LinuxStatx
impl Clone for LinuxStatx
Source§fn clone(&self) -> LinuxStatx
fn clone(&self) -> LinuxStatx
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinuxStatx
impl Debug for LinuxStatx
Source§impl Default for LinuxStatx
impl Default for LinuxStatx
Source§fn default() -> LinuxStatx
fn default() -> LinuxStatx
Returns the “default value” for a type. Read more
impl Copy for LinuxStatx
Auto Trait Implementations§
impl Freeze for LinuxStatx
impl RefUnwindSafe for LinuxStatx
impl Send for LinuxStatx
impl Sync for LinuxStatx
impl Unpin for LinuxStatx
impl UnwindSafe for LinuxStatx
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)