Struct stat
#[repr(C)]
pub struct stat { pub st_dev: dev_t, pub st_ino: ino_t, pub st_nlink: nlink_t, pub st_mode: mode_t, pub st_uid: uid_t, pub st_gid: gid_t, pub st_rdev: dev_t, pub st_size: off_t, pub st_blksize: blksize_t, pub st_blocks: blkcnt_t, pub st_atime: time_t, pub st_atime_nsec: i64, pub st_mtime: time_t, pub st_mtime_nsec: i64, pub st_ctime: time_t, pub st_ctime_nsec: i64, /* private fields */ }
Fields
st_dev: dev_tst_ino: ino_tst_nlink: nlink_tst_mode: mode_tst_uid: uid_tst_gid: gid_tst_rdev: dev_tst_size: off_tst_blksize: blksize_tst_blocks: blkcnt_tst_atime: time_tst_atime_nsec: i64st_mtime: time_tst_mtime_nsec: i64st_ctime: time_tst_ctime_nsec: i64
Trait Implementations
impl Clone for stat
fn clone(&self) -> Self
impl Copy for stat
impl Debug for stat
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for stat
impl Hash for stat
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for stat
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for stat
Auto Trait Implementations
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
Blanket Implementations
impl<T> Any for stat
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for stat
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for stat
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for stat
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for stat
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for stat
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 stat
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for stat
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>