Struct procinfo::pid::Mountinfo[][src]

pub struct Mountinfo {
    pub mount_id: isize,
    pub parent_id: isize,
    pub major: usize,
    pub minor: usize,
    pub root: PathBuf,
    pub mount_point: PathBuf,
    pub mount_options: Vec<MountOption>,
    pub opt_fields: Vec<OptionalField>,
    pub fs_type: (String, Option<String>),
    pub mount_src: Option<String>,
    pub super_opts: Vec<String>,
}

Process mounts information.

See proc(5) for format details.

Fields

mount_id: isize

Unique ID for the mount.

parent_id: isize

ID of the parent mount.

major: usize

Device major ID (class).

minor: usize

Device minor ID (instance).

root: PathBuf

Pathname which forms the root of this mount.

mount_point: PathBuf

Mount pathname relative to the process’s root.

mount_options: Vec<MountOption>

mount options.

opt_fields: Vec<OptionalField>

Optional fields (tag with optional value).

fs_type: (String, Option<String>)

Filesystem type (main type with optional sub-type).

mount_src: Option<String>

Filesystem specific information.

super_opts: Vec<String>

Superblock options.

Trait Implementations

impl Debug for Mountinfo[src]

impl Eq for Mountinfo[src]

impl Hash for Mountinfo[src]

impl PartialEq<Mountinfo> for Mountinfo[src]

impl StructuralEq for Mountinfo[src]

impl StructuralPartialEq for Mountinfo[src]

Auto Trait Implementations

impl RefUnwindSafe for Mountinfo

impl Send for Mountinfo

impl Sync for Mountinfo

impl Unpin for Mountinfo

impl UnwindSafe for Mountinfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.