Struct sys_mount::UnmountDrop
source · pub struct UnmountDrop<T: Unmount> { /* private fields */ }
Expand description
Unmounts the underlying mounted device upon drop.
Implementations§
source§impl<T: Unmount> UnmountDrop<T>
impl<T: Unmount> UnmountDrop<T>
sourcepub fn set_unmount_flags(&mut self, flags: UnmountFlags)
pub fn set_unmount_flags(&mut self, flags: UnmountFlags)
Modify the previously-set unmount flags.
Trait Implementations§
source§impl<T: Unmount> Deref for UnmountDrop<T>
impl<T: Unmount> Deref for UnmountDrop<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for UnmountDrop<T>where
T: RefUnwindSafe,
impl<T> Send for UnmountDrop<T>where
T: Send,
impl<T> Sync for UnmountDrop<T>where
T: Sync,
impl<T> Unpin for UnmountDrop<T>where
T: Unpin,
impl<T> UnwindSafe for UnmountDrop<T>where
T: UnwindSafe,
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