Trait SophiaProInterface

Source
pub trait SophiaProInterface {
    // Required methods
    fn import_words(
        &self,
        dirname: &str,
        datadir: &str,
        dupe_action: u8,
    ) -> (u8, String);
    fn export_words(&self, dirname: &str, datadir: &str);
    fn purge_words(&self, datadir: &str) -> bool;
    fn import_selectors(&self, dirname: &str, datadir: &str);
    fn export_selectors(&self, dirname: &str, datadir: &str);
    fn purge_selectors(&self, datadir: &str) -> bool;
    fn run_selector(&self, selector: &str, user_input: &str) -> SelectorResponse;
}

Required Methods§

Source

fn import_words( &self, dirname: &str, datadir: &str, dupe_action: u8, ) -> (u8, String)

Source

fn export_words(&self, dirname: &str, datadir: &str)

Source

fn purge_words(&self, datadir: &str) -> bool

Source

fn import_selectors(&self, dirname: &str, datadir: &str)

Source

fn export_selectors(&self, dirname: &str, datadir: &str)

Source

fn purge_selectors(&self, datadir: &str) -> bool

Source

fn run_selector(&self, selector: &str, user_input: &str) -> SelectorResponse

Implementors§