StatEx

Struct StatEx 

Source
#[repr(C)]
pub struct StatEx {
Show 29 fields pub mask: StatExMask, pub block_size: u32, pub attributes: StatExAttributes, pub link_count: u32, pub uid: uid_t, pub gid: gid_t, pub mode: u16, pub _rsvd1: u16, pub inode_id: ino_t, pub file_size: u64, pub block_count: u64, pub attributes_mask: StatExAttributes, pub access_time: StatExTimestamp, pub creation_time: StatExTimestamp, pub change_time: StatExTimestamp, pub write_time: StatExTimestamp, pub rdev_major: u32, pub rdev_minor: u32, pub dev_major: u32, pub dev_minor: u32, pub mount_id: u64, pub dio_mem_align: u32, pub dio_offset_align: u32, pub subvolume_id: u64, pub atomic_write_unit_min: u32, pub atomic_write_unit_max: u32, pub atomic_write_segments_max: u32, pub _rsvd2: u32, pub _rsvd3: [u64; 9],
}

Fields§

§mask: StatExMask§block_size: u32§attributes: StatExAttributes§link_count: u32§uid: uid_t§gid: gid_t§mode: u16§_rsvd1: u16§inode_id: ino_t§file_size: u64§block_count: u64§attributes_mask: StatExAttributes§access_time: StatExTimestamp§creation_time: StatExTimestamp§change_time: StatExTimestamp§write_time: StatExTimestamp§rdev_major: u32§rdev_minor: u32§dev_major: u32§dev_minor: u32§mount_id: u64§dio_mem_align: u32§dio_offset_align: u32§subvolume_id: u64§atomic_write_unit_min: u32§atomic_write_unit_max: u32§atomic_write_segments_max: u32§_rsvd2: u32§_rsvd3: [u64; 9]

Trait Implementations§

Source§

impl Debug for StatEx

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for StatEx

Source§

fn default() -> StatEx

Returns the “default value” for a type. Read more
Source§

impl From<StatEx> for Stat

Source§

fn from(statx: StatEx) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for StatEx

§

impl RefUnwindSafe for StatEx

§

impl Send for StatEx

§

impl Sync for StatEx

§

impl Unpin for StatEx

§

impl UnwindSafe for StatEx

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.