DictTranslate

Trait DictTranslate 

Source
pub trait DictTranslate {
    // Required methods
    fn translate(&self, name: &str, val: &str) -> String;
    fn reload_all_dicts(
        &'static self,
    ) -> LocalBoxFuture<'static, Result<(), ChimesError>>;
}

Required Methods§

Source

fn translate(&self, name: &str, val: &str) -> String

Source

fn reload_all_dicts( &'static self, ) -> LocalBoxFuture<'static, Result<(), ChimesError>>

Implementors§