pub struct Mountinfo {
pub mount_root: PathBuf,
pub mount_point: PathBuf,
pub fs_type: (String, Option<String>),
pub super_opts: Vec<String>,
}Expand description
Process mounts information.
See proc(5) for format details.
Fields§
§mount_root: PathBufMount root directory of the file system.
mount_point: PathBufMount pathname relative to the process’s root.
fs_type: (String, Option<String>)Filesystem type (main type with optional sub-type).
super_opts: Vec<String>Superblock options.
Trait Implementations§
impl Eq for Mountinfo
impl StructuralPartialEq for Mountinfo
Auto Trait Implementations§
impl Freeze for Mountinfo
impl RefUnwindSafe for Mountinfo
impl Send for Mountinfo
impl Sync for Mountinfo
impl Unpin for Mountinfo
impl UnwindSafe for Mountinfo
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