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§
Source§impl From<MountInfo> for AbstractMountElement
impl From<MountInfo> for AbstractMountElement
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