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.