[−][src]Struct dpdk_unix::android_linux::mounts::Mount
Represents a mount.
Fields
source: CString
eg eg /dev/sda1
, proc
, etc; not really that useful.
mount_point: PathBuf
Mount point.
file_system_type: FileSystemType
File system type.
eg proc
, sysfs
, hugetlbs
, ext4
; listed in second column of /proc/filesystems
/
mount_options: HashMap<Box<[u8]>, Option<Box<[u8]>>>
Mount options.
eg nodev mode=0177
Methods
impl Mount
[src]
impl Mount
pub fn unmount( | [src] |
Unmounts.
pub fn has_file_system_type(&self, file_system_type: &FileSystemType) -> bool | [src] |
Does this mount have this file system type?
pub fn new_where_source_is_file_system_type( | [src] |
New instance for file systems which do not have a source (eg hugetlbs
).
pub fn mount(&self, mount_flags: MountFlags) -> Result<(), Error> | [src] |
Mount.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |