pub struct FileAttr {}Expand description
File attributes
Fields§
§ino: u64Inode number
size: u64Size in bytes
blocks: u64Size in blocks
atime: TimespecTime of last access
mtime: TimespecTime of last modification
ctime: TimespecTime of last change
crtime: TimespecTime of creation (macOS only)
kind: FileTypeKind of file (directory, file, pipe, etc)
perm: u16Permissions
nlink: u32Number of hard links
uid: u32User id
gid: u32Group id
rdev: u32Rdev
flags: u32Flags (macOS only, see chflags(2))
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileAttr
impl RefUnwindSafe for FileAttr
impl Send for FileAttr
impl Sync for FileAttr
impl Unpin for FileAttr
impl UnwindSafe for FileAttr
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