#[repr(C)]pub struct FileAttr {}Expand description
File metadata returned by FileStat.
Layout-compatible with Hermit’s FileAttr.
Fields§
§st_dev: u64§st_ino: u64§st_nlink: u64§st_mode: u32st_mode from POSIX (S_IFMT and permission bits).
st_uid: u32§st_gid: u32§st_rdev: u64§st_size: i64§st_blksize: i64§st_blocks: i64§st_atim: Timespec§st_mtim: Timespec§st_ctim: TimespecTrait Implementations§
impl Copy for FileAttr
impl Eq for FileAttr
impl StructuralPartialEq 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 UnsafeUnpin 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