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
mount_id: c_ulong
parent_id: c_ulong
major: c_ulong
minor: c_ulong
root: Cow<'a, OsStr>
mount_point: Cow<'a, OsStr>
mount_options: Cow<'a, OsStr>
optional_fields: Cow<'a, OsStr>
fstype: Cow<'a, OsStr>
mount_source: Cow<'a, OsStr>
super_options: Cow<'a, OsStr>
Methods
impl<'a> MountPoint<'a>[src]
impl<'a> MountPoint<'a>pub fn get_flags(&self) -> c_ulong[src]
pub fn get_flags(&self) -> c_ulongReturns 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]
impl<'a> Debug for MountPoint<'a>Auto Trait Implementations
impl<'a> Send for MountPoint<'a>
impl<'a> Send for MountPoint<'a>impl<'a> Sync for MountPoint<'a>
impl<'a> Sync for MountPoint<'a>