#[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: DeviceDevice ID of device containing the file.
ino: InodeFile serial number.
filetype: FiletypeFile type.
nlink: LinkcountNumber of hard links to the file.
size: FilesizeFor regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.
atim: TimestampLast data access timestamp.
mtim: TimestampLast data modification timestamp.
ctim: TimestampLast 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