Struct libcoreinst::blockdev::Mount
source · pub struct Mount { /* private fields */ }Implementations§
source§impl Mount
impl Mount
pub fn try_mount(device: &str, fstype: &str, flags: MsFlags) -> Result<Mount>
pub fn from_existing(path: &str) -> Result<Mount>
pub fn device(&self) -> &str
pub fn mountpoint(&self) -> &Path
pub fn get_partition_offsets(&self) -> Result<(u64, u64)>
pub fn get_filesystem_uuid(&self) -> Result<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Mount
impl Send for Mount
impl Sync for Mount
impl Unpin for Mount
impl UnwindSafe for Mount
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