Struct stat

struct stat { ... }

Fields

st_dev: __kernel_ulong_t
st_ino: __kernel_ulong_t
st_nlink: __kernel_ulong_t
st_mode: c_uint
st_uid: c_uint
st_gid: c_uint
__pad0: c_uint
st_rdev: __kernel_ulong_t
st_size: __kernel_long_t
st_blksize: __kernel_long_t
st_blocks: __kernel_long_t
st_atime: __kernel_ulong_t
st_atime_nsec: __kernel_ulong_t
st_mtime: __kernel_ulong_t
st_mtime_nsec: __kernel_ulong_t
st_ctime: __kernel_ulong_t
st_ctime_nsec: __kernel_ulong_t
__unused: [__kernel_long_t; 3]

Implementations

impl Clone for stat

fn clone(self: &Self) -> stat

impl Copy for stat

impl Debug for stat

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

impl Freeze for stat

impl RefUnwindSafe for stat

impl Send for stat

impl Sync for stat

impl Unpin for stat

impl UnsafeUnpin for stat

impl UnwindSafe for stat

impl<T> Any for stat

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for stat

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for stat

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

impl<T> CloneToUninit for stat

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

impl<T> From for stat

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for stat

fn into(self: 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 for stat

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

impl<T, U> TryInto for stat

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