[][src]Trait ommui_frontend_gtk::udisks::UDisks2Ext

pub trait UDisks2Ext {
    fn mount_with_options(
        &self,
        path: &str,
        options: HashMap<String, String>
    ) -> Result<PathBuf>;
fn unmount_with_options(
        &self,
        path: &str,
        options: HashMap<String, String>
    ) -> Result<()>; fn mount(&self, path: &str) -> Result<PathBuf> { ... }
fn unmount(&self, path: &str) -> Result<()> { ... } }

An extension with some additional convenience methods for UDisks2.

Required methods

fn mount_with_options(
    &self,
    path: &str,
    options: HashMap<String, String>
) -> Result<PathBuf>

Mount a drive with options.

fn unmount_with_options(
    &self,
    path: &str,
    options: HashMap<String, String>
) -> Result<()>

Unmount a drive with options.

Loading content...

Provided methods

fn mount(&self, path: &str) -> Result<PathBuf>

Mount a drive with default options.

fn unmount(&self, path: &str) -> Result<()>

Unmount a drive.

Loading content...

Implementations on Foreign Types

impl UDisks2Ext for UDisks2[src]

Loading content...

Implementors

Loading content...