#[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: u64
ID of device containing file
ino: u64
inode number
mode: StatMode
file type and mode
nlink: u32
number 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more