use anyhow::Result;
use crate::modes::PasswordHolder;
pub trait MountCommands {
fn is_mounted(&self) -> bool;
fn mount(&mut self, username: &str, password: &mut PasswordHolder) -> Result<bool>;
fn umount(&mut self, username: &str, password: &mut PasswordHolder) -> Result<bool>;
}
pub trait MountParameters {
fn mkdir_parameters(&self, username: &str) -> [String; 3];
fn mount_parameters(&self, username: &str) -> Vec<String>;
fn umount_parameters(&self, username: &str) -> Vec<String>;
}