#[non_exhaustive]#[repr(C)]pub struct Stat {Show 16 fields
pub st_dev: c_ulong,
pub st_ino: c_ulong,
pub st_nlink: c_ulong,
pub st_mode: c_uint,
pub st_uid: c_uint,
pub st_gid: c_uint,
pub st_rdev: c_ulong,
pub st_size: c_long,
pub st_blksize: c_long,
pub st_blocks: c_long,
pub st_atime: c_long,
pub st_atime_nsec: c_ulong,
pub st_mtime: c_long,
pub st_mtime_nsec: c_ulong,
pub st_ctime: c_long,
pub st_ctime_nsec: c_ulong,
/* private fields */
}
Available on crate feature
fs
only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.st_dev: c_ulong
§st_ino: c_ulong
§st_nlink: c_ulong
§st_mode: c_uint
§st_uid: c_uint
§st_gid: c_uint
§st_rdev: c_ulong
§st_size: c_long
§st_blksize: c_long
§st_blocks: c_long
§st_atime: c_long
§st_atime_nsec: c_ulong
§st_mtime: c_long
§st_mtime_nsec: c_ulong
§st_ctime: c_long
§st_ctime_nsec: c_ulong
Trait Implementations§
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§
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