#[repr(C)]pub struct Stat {
pub dev: u64,
pub ino: u64,
pub mode: StatMode,
pub nlink: u32,
pad: [u64; 7],
}Expand description
The stat of a inode
Fields§
§dev: u64ID of device containing file
ino: u64inode number
mode: StatModefile type and mode
nlink: u32number of hard links
pad: [u64; 7]unused pad
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