#[repr(C)]pub struct Filestat {
pub dev: Device,
pub ino: Inode,
pub filetype: Filetype,
pub nlink: Linkcount,
pub size: Filesize,
pub atim: Timestamp,
pub mtim: Timestamp,
pub ctim: Timestamp,
}
Fields§
§dev: Device
Device ID of device containing the file.
ino: Inode
File serial number.
filetype: Filetype
File type.
nlink: Linkcount
Number of hard links to the file.
size: Filesize
For regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.
atim: Timestamp
Last data access timestamp.
mtim: Timestamp
Last data modification timestamp.
ctim: Timestamp
Last file status change timestamp.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filestat
impl RefUnwindSafe for Filestat
impl Send for Filestat
impl Sync for Filestat
impl Unpin for Filestat
impl UnwindSafe for Filestat
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