Struct libc::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,
/* some fields hidden */
}
Fields
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
Trait Implementations
impl Debug for stat
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for stat
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for stat
impl StructuralPartialEq for stat
Auto Trait Implementations
impl RefUnwindSafe for stat
impl UnwindSafe for stat
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T