Struct proc_mounts::MountInfo
source · pub struct MountInfo {
pub source: PathBuf,
pub dest: PathBuf,
pub fstype: String,
pub options: Vec<String>,
pub dump: i32,
pub pass: i32,
}
Expand description
A mount entry which contains information regarding how and where a source is mounted.
Fields
source: PathBuf
The source which is mounted.
dest: PathBuf
Where the source is mounted.
fstype: String
The type of the mounted file system.
options: Vec<String>
Options specified for this file system.
dump: i32
Defines if the file system should be dumped.
pass: i32
Defines if the file system should be checked, and in what order.
Implementations
Trait Implementations
impl Eq for MountInfo
impl StructuralEq for MountInfo
impl StructuralPartialEq for MountInfo
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more