#[repr(C)]pub struct statx {Show 23 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 __spare2: __u64,
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
§__spare2: __u64
§__spare3: [__u64; 12]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for statx
impl RefUnwindSafe for statx
impl Send for statx
impl Sync for statx
impl Unpin for statx
impl UnwindSafe for statx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more