Struct libmount::mountinfo::MountPoint[][src]

pub struct MountPoint<'a> {
    pub mount_id: c_ulong,
    pub parent_id: c_ulong,
    pub major: c_ulong,
    pub minor: c_ulong,
    pub root: Cow<'a, OsStr>,
    pub mount_point: Cow<'a, OsStr>,
    pub mount_options: Cow<'a, OsStr>,
    pub optional_fields: Cow<'a, OsStr>,
    pub fstype: Cow<'a, OsStr>,
    pub mount_source: Cow<'a, OsStr>,
    pub super_options: Cow<'a, OsStr>,
}

A single entry returned by mountpoint parser

Fields

Methods

impl<'a> MountPoint<'a>
[src]

Returns flags of the mountpoint as a numeric value

This value matches linux MS_* flags as passed into mount syscall

Trait Implementations

impl<'a> Debug for MountPoint<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for MountPoint<'a>

impl<'a> Sync for MountPoint<'a>