Struct sys_mount::UnmountDrop [−][src]
pub struct UnmountDrop<T: Unmount> { /* fields omitted */ }
Unmounts the underlying mounted device upon drop.
Methods
impl<T: Unmount> UnmountDrop<T>[src]
impl<T: Unmount> UnmountDrop<T>pub fn set_unmount_flags(&mut self, flags: UnmountFlags)[src]
pub fn set_unmount_flags(&mut self, flags: UnmountFlags)Modify the previously-set unmount flags.
Trait Implementations
impl<T: Unmount> Deref for UnmountDrop<T>[src]
impl<T: Unmount> Deref for UnmountDrop<T>type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T[src]
fn deref(&self) -> &TDereferences the value.
impl<T: Unmount> Drop for UnmountDrop<T>[src]
impl<T: Unmount> Drop for UnmountDrop<T>Auto Trait Implementations
impl<T> Send for UnmountDrop<T> where
T: Send,
impl<T> Send for UnmountDrop<T> where
T: Send, impl<T> Sync for UnmountDrop<T> where
T: Sync,
impl<T> Sync for UnmountDrop<T> where
T: Sync,