#[repr(C)]pub struct FileAttr {}
Fields§
§st_dev: u64
§st_ino: u64
§st_nlink: u64
§st_mode: AccessPermission
access permissions
st_uid: u32
user id
st_gid: u32
group id
st_rdev: u64
device id
st_size: u64
size in bytes
st_blksize: i64
block size
st_blocks: i64
size in blocks
st_atim: timespec
time of last access
st_mtim: timespec
time of last modification
st_ctim: timespec
time of last status change
Trait Implementations§
impl Copy for FileAttr
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