#[repr(C)]pub struct Stat {Show 15 fields
pub device_nr: u64,
pub inode_nr: ino_t,
pub link_count: usize,
pub mode: mode_t,
pub uid: uid_t,
pub gid: gid_t,
pub pad0: u32,
pub device_nr_special: u64,
pub file_size: u64,
pub block_size: isize,
pub block_count: u64,
pub access_time: Timespec,
pub write_time: Timespec,
pub change_time: Timespec,
pub pad1: [isize; 3],
}
Expand description
A Linux stat
structure.
Fields§
§device_nr: u64
§inode_nr: ino_t
§link_count: usize
§mode: mode_t
§uid: uid_t
§gid: gid_t
§pad0: u32
§device_nr_special: u64
§file_size: u64
§block_size: isize
§block_count: u64
§access_time: Timespec
§write_time: Timespec
§change_time: Timespec
§pad1: [isize; 3]
Trait Implementations§
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§
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