#[repr(C)]pub struct stat {Show 21 fields
pub st_dev: dev_t,
pub st_mode: mode_t,
pub st_ino: ino_t,
pub st_nlink: nlink_t,
pub st_uid: uid_t,
pub st_gid: gid_t,
pub st_rdev: dev_t,
pub st_atime: time_t,
pub st_atimensec: c_long,
pub st_mtime: time_t,
pub st_mtimensec: c_long,
pub st_ctime: time_t,
pub st_ctimensec: c_long,
pub st_birthtime: time_t,
pub st_birthtimensec: c_long,
pub st_size: off_t,
pub st_blocks: blkcnt_t,
pub st_blksize: blksize_t,
pub st_flags: u32,
pub st_gen: u32,
pub st_spare: [u32; 2],
}
Fields§
§st_dev: dev_t
§st_mode: mode_t
§st_ino: ino_t
§st_nlink: nlink_t
§st_uid: uid_t
§st_gid: gid_t
§st_rdev: dev_t
§st_atime: time_t
§st_atimensec: c_long
§st_mtime: time_t
§st_mtimensec: c_long
§st_ctime: time_t
§st_ctimensec: c_long
§st_birthtime: time_t
§st_birthtimensec: c_long
§st_size: off_t
§st_blocks: blkcnt_t
§st_blksize: blksize_t
§st_flags: u32
§st_gen: u32
§st_spare: [u32; 2]
Trait Implementations§
impl Copy for stat
impl Eq for stat
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 UnwindSafe for stat
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)