pub struct TmpfsFileInfo {
pub inode_number: u64,
pub filename: String,
pub file_size: u64,
pub uid: u32,
pub gid: u32,
pub mode: u32,
pub atime_sec: u64,
pub mtime_sec: u64,
pub ctime_sec: u64,
pub is_suspicious: bool,
}Expand description
Information about a file found in an in-memory tmpfs/ramfs filesystem.
Fields§
§inode_number: u64Inode number.
filename: StringFilename recovered from dentry cache (empty if not cached).
file_size: u64File size in bytes.
uid: u32User ID of the file owner.
gid: u32Group ID of the file owner.
mode: u32File mode (permissions + type bits).
atime_sec: u64Last access time (seconds since epoch).
mtime_sec: u64Last modification time (seconds since epoch).
ctime_sec: u64Last status-change time (seconds since epoch).
is_suspicious: boolTrue when the file has the executable bit set or starts with . (hidden).
Trait Implementations§
Source§impl Clone for TmpfsFileInfo
impl Clone for TmpfsFileInfo
Source§fn clone(&self) -> TmpfsFileInfo
fn clone(&self) -> TmpfsFileInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TmpfsFileInfo
impl Debug for TmpfsFileInfo
Auto Trait Implementations§
impl Freeze for TmpfsFileInfo
impl RefUnwindSafe for TmpfsFileInfo
impl Send for TmpfsFileInfo
impl Sync for TmpfsFileInfo
impl Unpin for TmpfsFileInfo
impl UnsafeUnpin for TmpfsFileInfo
impl UnwindSafe for TmpfsFileInfo
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