#[repr(C)]pub struct stat {Show 18 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,
__pad0: c_int,
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,
__unused: [i64; 3],
}
Fields§
§st_dev: dev_t
§st_ino: ino_t
§st_nlink: nlink_t
§st_mode: mode_t
§st_uid: uid_t
§st_gid: gid_t
§__pad0: c_int
§st_rdev: dev_t
§st_size: off_t
§st_blksize: blksize_t
§st_blocks: blkcnt_t
§st_atime: time_t
§st_atime_nsec: i64
§st_mtime: time_t
§st_mtime_nsec: i64
§st_ctime: time_t
§st_ctime_nsec: i64
§__unused: [i64; 3]
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for stat
impl Send for stat
impl Sync for stat
impl Unpin for stat
impl UnwindSafe for stat
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