Struct dpdk_unix::android_linux::mounts::Mount
[−]
[src]
pub struct Mount { pub nameOfMountedFileSystem: PathBuf, pub mountPoint: PathBuf, pub fileSystemType: FileSystemType, pub mountOptions: HashMap<String, Option<String>>, pub dumpFrequencyInDays: i32, pub passNumberOnParallelFsck: i32, }
Fields
nameOfMountedFileSystem: PathBuf
mountPoint: PathBuf
fileSystemType: FileSystemType
mountOptions: HashMap<String, Option<String>>
dumpFrequencyInDays: i32
passNumberOnParallelFsck: i32
Methods
impl Mount
[src]
fn unmount(mountPoint: &Path, unmountFlags: UnmountFlags) -> Result<(), Error>
fn isFileSystemType(&self, fileSystemType: &FileSystemType) -> bool
fn from_mntent(raw: *mut mntent) -> Self
fn toMountOptionsString(
mountOptions: &HashMap<String, Option<String>>
) -> CString
mountOptions: &HashMap<String, Option<String>>
) -> CString
fn mountHugePages(
hugePageMountSettings: &HugePageMountSettings,
overrideDefaultHugePageSize: Option<HugePageSize>
) -> Result<PathBuf, Error>
hugePageMountSettings: &HugePageMountSettings,
overrideDefaultHugePageSize: Option<HugePageSize>
) -> Result<PathBuf, Error>
fn mountFileSystemWhereSourceIsSameAsFileSystemType(
mountPoint: &Path,
fileSystemType: &FileSystemType,
mountOptions: &HashMap<String, Option<String>>,
mountFlags: MountFlags
) -> Result<(), Error>
mountPoint: &Path,
fileSystemType: &FileSystemType,
mountOptions: &HashMap<String, Option<String>>,
mountFlags: MountFlags
) -> Result<(), Error>
fn mount(&self, mountFlags: MountFlags) -> Result<(), Error>
fn mountFileSystem(
source: &CStr,
mountPoint: &Path,
fileSystemType: &FileSystemType,
mountOptions: &HashMap<String, Option<String>>,
mountFlags: MountFlags
) -> Result<(), Error>
source: &CStr,
mountPoint: &Path,
fileSystemType: &FileSystemType,
mountOptions: &HashMap<String, Option<String>>,
mountFlags: MountFlags
) -> Result<(), Error>