pub trait MessageTranslator: Send + Sync {
// Required methods
fn language(&self) -> Language;
fn translate_check_result(&self, result: &CheckResult) -> String;
}Required Methods§
fn language(&self) -> Language
fn translate_check_result(&self, result: &CheckResult) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".