pub struct MountEntry {
pub mnt_id: u32,
pub parent_id: u32,
pub dev_name: String,
pub mnt_root: String,
pub mnt_flags: u32,
pub fs_type: String,
pub is_suspicious: bool,
}Expand description
Information about a single kernel mount entry.
This is the richer forensic type produced by walk_mounts, distinct from
crate::MountInfo in types.rs which is the simpler 3-field type used by
the fs walker. The two serve different purposes and are kept separate.
Fields§
§mnt_id: u32Kernel mount id.
parent_id: u32Parent mount id.
dev_name: StringDevice name string (e.g. “/dev/sda1”).
mnt_root: StringMount root path (best-effort).
mnt_flags: u32Mount flags bitmask.
fs_type: StringFilesystem type name (e.g. “ext4”, “tmpfs”).
is_suspicious: boolTrue when the mount exhibits suspicious characteristics.
Trait Implementations§
Source§impl Clone for MountEntry
impl Clone for MountEntry
Source§fn clone(&self) -> MountEntry
fn clone(&self) -> MountEntry
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 MountEntry
impl Debug for MountEntry
Auto Trait Implementations§
impl Freeze for MountEntry
impl RefUnwindSafe for MountEntry
impl Send for MountEntry
impl Sync for MountEntry
impl Unpin for MountEntry
impl UnsafeUnpin for MountEntry
impl UnwindSafe for MountEntry
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