pub struct InodeAttr {Show 17 fields
pub inr: InodeNum,
pub perm: u16,
pub kind: InodeType,
pub size: u64,
pub blocks: u64,
pub atime: SystemTime,
pub mtime: SystemTime,
pub ctime: SystemTime,
pub btime: SystemTime,
pub nlink: u16,
pub uid: u32,
pub gid: u32,
pub gen: u32,
pub blksize: u32,
pub flags: u32,
pub kernflags: u32,
pub extsize: u32,
}Expand description
Inode Metadata
Fields§
§inr: InodeNumInode number.
perm: u16UNIX Permissions.
kind: InodeTypeType of the inode.
size: u64Inode data size.
blocks: u64Total number of blocks allocated.
atime: SystemTimeAccess time.
mtime: SystemTimeModify time.
ctime: SystemTimeChange time.
btime: SystemTimeBirth time.
nlink: u16Number of hard links.
uid: u32User ID.
gid: u32Group ID.
gen: u32Inode Generation.
blksize: u32Block size.
flags: u32Additional inode flags (like immutable).
kernflags: u32FreeBSD kernel flags.
extsize: u32Size of the extended attribute area.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InodeAttr
impl RefUnwindSafe for InodeAttr
impl Send for InodeAttr
impl Sync for InodeAttr
impl Unpin for InodeAttr
impl UnwindSafe for InodeAttr
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