MountParameters

Trait MountParameters 

Source
pub trait MountParameters {
    // Required methods
    fn mkdir_parameters(&self, username: &str) -> [String; 3];
    fn mount_parameters(&self, username: &str) -> Vec<String>;
    fn umount_parameters(&self, username: &str) -> Vec<String>;
}
Expand description

Parameters used to create the commands : mkdir, mount & umount.

Required Methods§

Source

fn mkdir_parameters(&self, username: &str) -> [String; 3]

Parameters used to sudo mkdir mountpoint

Source

fn mount_parameters(&self, username: &str) -> Vec<String>

Parameters used to mount the device

Source

fn umount_parameters(&self, username: &str) -> Vec<String>

Parameters used to umount the device

Implementors§